47 #if defined(_OS_UNIX_) || defined(_OS_MAC_) 49 #elif defined(_OS_WIN32_) 57 bool testAndSet(
int expectedValue,
int newValue);
79 #if defined(_OS_UNIX_) || defined(_OS_MAC_) 83 #elif defined(_OS_WIN32_) 86 #error "unsupported platform" bool operator!=(int value) const
void wait(std::chrono::milliseconds dur)
bool operator==(int value) const
int fetchAndAdd(int valueToAdd)
bool testAndSet(int expectedValue, int newValue)