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

Callers

nothing calls this directly

Calls 3

lockMethod · 0.45
signalMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected