MCPcopy 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
148void SC::Semaphore::release()
149{
150 mutex.lock();
151 ++count;
152 condition.signal();
153 mutex.unlock();
154}
155
156//-------------------------------------------------------------------------------------------------------
157// EventObject

Callers

nothing calls this directly

Calls 3

lockMethod · 0.45
signalMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected