Acquire Release Semantics

This lesson explains what is meant by acquire and release semantics.

Acquire Release Semantics

Acquire and release semantics define when the effects of an operation become visible to other processors with respect to preceding and subsequent operations.

Acquire Semantics

If an operation has acquire semantics it means that the changes caused by this operation become visible to other processors before the changes caused by operations that follow. Consider the following example:

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.