Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
136
void 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
147
void afThread::pause()
148
{
Callers
1
invalidDevices
Method · 0.45
Calls
1
unlock
Method · 0.45
Tested by
no test coverage detected