Searched refs:syncCond_ (Results 1 - 8 of 8) sorted by relevance
/foundation/multimedia/av_codec/services/utils/ |
H A D | task_thread.cpp | 40 syncCond_.notify_all(); in ~TaskThread() 54 syncCond_.wait(lock, [this] { return runningState_.load() == RunningState::STOPPED; }); in Start() 70 syncCond_.notify_all(); in Start() 80 syncCond_.notify_all(); in Stop() 81 syncCond_.wait(lock, [this] { return runningState_.load() == RunningState::STOPPED; }); in Stop() 98 syncCond_.notify_all(); in StopAsync() 109 syncCond_.wait(lock, [this] { in Pause() 115 syncCond_.wait(lock, [this] { return runningState_.load() == RunningState::STOPPED; }); in Pause() 119 syncCond_.wait(lock, [this] { return runningState_.load() == RunningState::PAUSED; }); in Pause() 164 syncCond_ in Run() [all...] |
/foundation/multimedia/media_foundation/src/osal/task/ffrt/ |
H A D | task.cpp | 62 syncCond_.NotifyAll(); in ~Task() 76 syncCond_.NotifyAll(); in Start() 87 syncCond_.NotifyAll(); in Stop() 88 syncCond_.Wait(lock, [this] { return runningState_.load() == RunningState::STOPPED; }); in Stop() 116 syncCond_.Wait(lock, [this] { in Pause() 122 syncCond_.Wait(lock, [this] { return runningState_.load() == RunningState::STOPPED; }); in Pause() 126 syncCond_.Wait(lock, [this] { return runningState_.load() == RunningState::PAUSED; }); in Pause() 166 syncCond_.NotifyAll(); in Run() 168 syncCond_.WaitFor(lock, timeoutMs, [this] { return runningState_.load() != RunningState::PAUSED; }); in Run() 173 syncCond_ in Run() [all...] |
/foundation/multimedia/media_foundation/engine/foundation/osal/thread/ |
H A D | task.cpp | 43 syncCond_.NotifyAll(); in ~Task() 58 syncCond_.NotifyAll(); in Start() 70 syncCond_.NotifyAll(); in Stop() 71 syncCond_.Wait(lock, [this] { return runningState_.load() == RunningState::STOPPED; }); in Stop() 96 syncCond_.Wait(lock, [this] { in Pause() 102 syncCond_.Wait(lock, [this] { return runningState_.load() == RunningState::STOPPED; }); in Pause() 106 syncCond_.Wait(lock, [this] { return runningState_.load() == RunningState::PAUSED; }); in Pause() 146 syncCond_.NotifyAll(); in Run() 148 syncCond_.WaitFor(lock, timeoutMs, [this] { return runningState_.load() != RunningState::PAUSED; }); in Run() 153 syncCond_ in Run() [all...] |
/foundation/multimedia/media_foundation/src/osal/task/pthread/ |
H A D | pipeline_threadpool.cpp | 145 syncCond_.NotifyAll(); in Exit() 179 syncCond_.Wait(lock); in Run() 184 syncCond_.WaitFor(lock, (nextJobUs - nowUs + ADJUST_US) / US_PER_MS); in Run() 225 syncCond_.NotifyAll(); in UnLockJobState()
|
/foundation/multimedia/media_foundation/interface/inner_api/osal/task/ |
H A D | taskInner.h | 100 ConditionVariable syncCond_; member in OHOS::Media::TaskInner 109 ConditionVariable syncCond_{};
|
H A D | pipeline_threadpool.h | 53 ConditionVariable syncCond_; member in OHOS::Media::PipeLineThread
|
/foundation/multimedia/av_codec/services/utils/include/ |
H A D | task_thread.h | 66 std::condition_variable syncCond_; member in OHOS::MediaAVCodec::TaskThread
|
/foundation/multimedia/media_foundation/engine/include/foundation/osal/thread/ |
H A D | task.h | 69 OSAL::ConditionVariable syncCond_{};
|
Completed in 3 milliseconds