Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
153
void ReadWriteLock::lockWriter()
154
{
155
mImpl->mutex.lock();
156
157
// spin lock until no readers
158
while(mImpl->readerCounter);
159
}
160
161
void ReadWriteLock::unlockReader()
162
{
Callers
3
onTick
Method · 0.45
loaderThread
Method · 0.45
lockWrite
Method · 0.45
Calls
1
lock
Method · 0.45
Tested by
no test coverage detected