Home
last modified time | relevance | path

Searched refs:SharedMutexWaitType (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/resourceschedule/ffrt/src/sync/
H A Dshared_mutex.cpp29 Wait(wList1, SharedMutexWaitType::WRITE); in Lock()
33 Wait(wList2, SharedMutexWaitType::NORMAL); in Lock()
54 Wait(wList1, SharedMutexWaitType::READ); in LockShared()
97 void SharedMutexPrivate::Wait(LinkedList& wList, SharedMutexWaitType wtType) in Wait()
164 if (we->wtType == SharedMutexWaitType::READ) { in NotifyAll()
166 if (weNext != nullptr && weNext->wtType == SharedMutexWaitType::WRITE) { in NotifyAll()
169 } else if (we->wtType == SharedMutexWaitType::WRITE) { in NotifyAll()
H A Dshared_mutex_private.h46 void Wait(LinkedList& wList, SharedMutexWaitType wtType);
/ohos5.0/foundation/resourceschedule/ffrt/src/sched/
H A Dexecute_ctx.h41 enum class SharedMutexWaitType { enum
56 …WaitEntry() : prev(this), next(this), task(nullptr), weType(0), wtType(SharedMutexWaitType::NORMAL… in WaitEntry()
59 wtType(SharedMutexWaitType::NORMAL) { in WaitEntry()
66 SharedMutexWaitType wtType;