Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ unlock
Method
unlock
source/core/StarThread.cpp:72–76 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
70
}
71
72
void ReadLocker::unlock() {
73
if (m_locked)
74
m_lock.readUnlock();
75
m_locked = false;
76
}
77
78
void ReadLocker::lock() {
79
if (!m_locked)
Callers
15
lightingCalc
Method · 0.45
Root
Method · 0.45
scanSystems
Method · 0.45
UniverseConnectionServer
Method · 0.45
connectionIsOpen
Method · 0.45
lastActivityTime
Method · 0.45
removeConnection
Method · 0.45
sendPackets
Method · 0.45
imageSize
Method · 0.45
imageSpaces
Method · 0.45
nonEmptyRegion
Method · 0.45
calculateImageSize
Method · 0.45
Calls
2
readUnlock
Method · 0.80
writeUnlock
Method · 0.80
Tested by
1
TEST
Function · 0.36