Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VirtualGL/virtualgl
/ SafeLock
Method
SafeLock
include/Mutex.h:64–68 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
62
public:
63
64
SafeLock(CriticalSection &cs_, bool errorCheck_ = true) : cs(cs_),
65
errorCheck(errorCheck_)
66
{
67
cs.lock(errorCheck);
68
}
69
~SafeLock() { cs.unlock(errorCheck); }
70
71
private:
Callers
nothing calls this directly
Calls
1
lock
Method · 0.45
Tested by
no test coverage detected