Skip to content
UPEEC

stdatomic.h

C11 atomic types and operations for lock-free shared data between threads or interrupts.

Advanced
Comments 0

atomic_int counter; atomic_fetch_add(&counter, 1);

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.