Searched refs:_atomic_test_and_set (Results 1 - 2 of 2) sorted by relevance

/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/r5/
H A DUtility.h76 // _atomic_test_and_set(value, newValue, testAgainst)
86 _atomic_test_and_set(volatile int32 *value, int32 newValue, int32 testAgainst) function
102 _atomic_test_and_set(volatile int32 *value, int32 newValue, int32 testAgainst) function
131 _atomic_test_and_set(volatile int32 *value, int32 newValue, int32 testAgainst) function
153 # error The macros _atomic_set(), and _atomic_test_and_set() are not defined for the target processor
H A DLock.h478 current = _atomic_test_and_set(&fHolder, thisThread, -1);

Completed in 36 milliseconds