summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_atomic.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-04-21Macros for atomic 'OR' and 'AND' operations introduced.Max Romanov1-0/+17
Compiler built-ins used, where possible. Necessary configure checks added. New macros: nxt_atomic_or_fetch(ptr, val) nxt_atomic_and_fetch(ptr, val) Syntax and behaviour is similar to __sync_or_and_fetch and __sync_and_and_fetch GCC build-ins.
2017-01-17Initial version.Igor Sysoev1-0/+268