7893248c5a
This commit adds support for fetch-and-op atomics. This is needed because and and or are irreversible operations so there needs to be a way to get the old value atomically. These are also the only semantics supported by C11 (there is not atomic_op_fetch, just atomic_fetch_op). The old op-and-fetch atomics have been defined in terms of fetch-and-op. Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov> |
||
---|---|---|
.. | ||
condition.c | ||
condition.h | ||
Makefile.am | ||
mutex_unix.h | ||
mutex.c | ||
mutex.h | ||
thread_usage.h | ||
thread.c | ||
threads.h | ||
tsd.h | ||
wait_sync.c | ||
wait_sync.h |