MCPcopy Create free account
hub / github.com/audeering/opensmile / smileCondWait

Function smileCondWait

src/core/smileThread.cpp:85–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void smileCondWait(smileCond &cond)
86{
87 pthread_mutex_lock(&cond.mtx);
88 while (!cond.signaled) {
89 pthread_cond_wait(&cond.cond, &cond.mtx);
90 }
91 cond.signaled = 0;
92 pthread_mutex_unlock(&cond.mtx);
93}
94
95void smileCondWaitWMtx(smileCond &cond, smileMutex &mtx)
96{

Callers 1

runSingleThreadedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected