Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ WriteLocker
Method
WriteLocker
source/core/StarThread.cpp:92–95 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
90
}
91
92
WriteLocker::WriteLocker(ReadersWriterMutex& rwlock, bool startLocked) : m_lock(rwlock), m_locked(false) {
93
if (startLocked)
94
lock();
95
}
96
97
WriteLocker::~WriteLocker() {
98
unlock();
Callers
nothing calls this directly
Calls
1
lock
Function · 0.85
Tested by
no test coverage detected