Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ ReadLocker
Method
ReadLocker
source/core/StarThread.cpp:63–66 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
61
}
62
63
ReadLocker::ReadLocker(ReadersWriterMutex& rwlock, bool startLocked) : m_lock(rwlock), m_locked(false) {
64
if (startLocked)
65
lock();
66
}
67
68
ReadLocker::~ReadLocker() {
69
unlock();
Callers
nothing calls this directly
Calls
1
lock
Function · 0.85
Tested by
no test coverage detected