MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / QWait

Method QWait

include/hx/Thread.h:251–256  ·  view source on GitHub ↗

when we already hold the mMutex lock ...

Source from the content-addressed store, hash-verified

249 }
250 // when we already hold the mMutex lock ...
251 void QWait()
252 {
253 while( !mSet )
254 pthread_cond_wait( mCondition, mMutex.mMutex );
255 mSet = false;
256 }
257 // Returns true if the wait was success, false on timeout.
258 bool WaitSeconds(double inSeconds)
259 {

Callers 1

PopFrontMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected