MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / set

Method set

physx/source/foundation/src/unix/PsUnixSync.cpp:108–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108void SyncImpl::set()
109{
110 PxUnixScopeLock lock(getSync(this)->mutex);
111 if(!getSync(this)->is_set)
112 {
113 getSync(this)->is_set = true;
114 getSync(this)->setCounter++;
115 pthread_cond_broadcast(&getSync(this)->cond);
116 }
117}
118
119bool SyncImpl::wait(uint32_t ms)
120{

Callers

nothing calls this directly

Calls 1

getSyncFunction · 0.85

Tested by

no test coverage detected