MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / lockWriter

Method lockWriter

deps/physx/physx/source/foundation/src/unix/PsUnixMutex.cpp:153–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void ReadWriteLock::lockWriter()
154{
155 mImpl->mutex.lock();
156
157 // spin lock until no readers
158 while(mImpl->readerCounter);
159}
160
161void ReadWriteLock::unlockReader()
162{

Callers 3

onTickMethod · 0.45
loaderThreadMethod · 0.45
lockWriteMethod · 0.45

Calls 1

lockMethod · 0.45

Tested by

no test coverage detected