Home
last modified time | relevance | path

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

/foundation/multimedia/image_framework/mock/native/src/
H A Drwlock.cpp33 while ((count = lockCount_) == LOCK_STATUS_WRITE || writeWaitCount_ > 0) { in LockRead()
39 while ((count = lockCount_) == LOCK_STATUS_WRITE) {} in LockRead()
63 for (int status = LOCK_STATUS_FREE; !lockCount_.compare_exchange_weak(status, LOCK_STATUS_WRITE); in LockWrite()
79 if (lockCount_ != LOCK_STATUS_WRITE) { in UnLockWrite()
/foundation/multimedia/image_framework/mock/native/include/
H A Drwlock.h30 LOCK_STATUS_WRITE = -1, enumerator

Completed in 2 milliseconds