MCPcopy Create free account
hub / github.com/alibaba/CicadaPlayer / prePause

Method prePause

framework/utils/afThread.cpp:136–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136void afThread::prePause()
137{
138 if (mMutex.try_lock()) {
139 if (THREAD_STATUS_RUNNING == mThreadStatus) {
140 mTryPaused = true;
141 }
142
143 mMutex.unlock();
144 }
145}
146
147void afThread::pause()
148{

Callers 1

invalidDevicesMethod · 0.45

Calls 1

unlockMethod · 0.45

Tested by

no test coverage detected