Lines Matching refs:WaitQueue
31 void WaitQueue::ThreadWait(WaitUntilEntry* wn, mutexPrivate* lk, bool legacyMode, CPUEUTask* task)
48 bool WaitQueue::ThreadWaitUntil(WaitUntilEntry* wn, mutexPrivate* lk,
80 void WaitQueue::SuspendAndWait(mutexPrivate* lk)
95 // The ownership of the task belongs to WaitQueue list, and the task cannot be accessed any more.
103 bool WeTimeoutProc(WaitQueue* wq, WaitUntilEntry* wue)
122 bool WaitQueue::SuspendAndWaitUntil(mutexPrivate* lk, const TimePoint& tp) noexcept
153 // The ownership of the task belongs to WaitQueue list, and the task cannot be accessed any more.
158 // The ownership of the task belongs to WaitQueue list, and the task cannot be accessed any more.
163 // The ownership of the task belongs to WaitQueue list, and the task cannot be accessed any more.
174 bool WaitQueue::WeNotifyProc(WaitUntilEntry* we)
196 void WaitQueue::Notify(bool one) noexcept
198 // the caller should assure the WaitQueue life time.
199 // this function should assure the WaitQueue do not be access after the wqlock is empty(),
200 // that mean the last wait thread/co may destory the WaitQueue.