Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Pagghiu/SaneCppLibraries
/ release
Method
release
Libraries/Threading/Threading.cpp:148–154 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
146
}
147
--count;
148
mutex.unlock();
149
}
150
151
void SC::Semaphore::release()
152
{
153
mutex.lock();
154
++count;
155
condition.signal();
156
mutex.unlock();
157
}
Callers
nothing calls this directly
Calls
3
lock
Method · 0.45
signal
Method · 0.45
unlock
Method · 0.45
Tested by
no test coverage detected