MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / __hxcpp_semaphore_release

Function __hxcpp_semaphore_release

src/hx/Thread.cpp:236–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234 return semaphore->tryAcquire(timeout);
235}
236void __hxcpp_semaphore_release(Dynamic inSemaphore) {
237 auto semaphore = inSemaphore.Cast<hx::thread::CountingSemaphore>();
238
239 semaphore->release();
240}
241
242// --- Condition ------------------------------------------------------------
243

Callers

nothing calls this directly

Calls 1

releaseMethod · 0.45

Tested by

no test coverage detected