Home
last modified time | relevance | path

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

/commonlibrary/c_utils/base/src/
H A Drwlock.cpp38 while ((count = lockCount_) == LOCK_STATUS_WRITE || writeWaitCount_ > 0) {} in LockRead()
43 while ((count = lockCount_) == LOCK_STATUS_WRITE) {} in LockRead()
66 for (int status = LOCK_STATUS_FREE; !lockCount_.compare_exchange_weak(status, LOCK_STATUS_WRITE); in LockWrite()
82 if (lockCount_ != LOCK_STATUS_WRITE) { in UnLockWrite()
/commonlibrary/c_utils/base/include/
H A Drwlock.h47 LOCK_STATUS_WRITE = -1, enumerator

Completed in 1 milliseconds