Review Note
Last Update: 10/13/2023 03:21 PM
Current Deck: multicoren
Published
Fields:
Front
What is an `atomic_flag`?
Back
`atomic_flag` is a minimal atomic variable type provided for creating spinlocks. It supports two atomic operations: `test_and_set` and `clear`.
Extra
Unlike richer atomic types, `atomic_flag` does not support load and store operations. It is often used as a building block for more complex synchronization primitives like mutexes or condition variables.
Suggested Changes:
Deck Changes (Suggestion to move the Note to the following Deck):
Field Changes:
Tag Changes: