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

Function __hxcpp_condition_try_acquire

src/hx/Thread.cpp:254–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252 condition->acquire();
253}
254bool __hxcpp_condition_try_acquire(Dynamic inCond)
255{
256 auto condition = inCond.Cast<hx::thread::ConditionVariable>();
257
258 return condition->tryAcquire();
259}
260void __hxcpp_condition_release(Dynamic inCond)
261{
262 auto condition = inCond.Cast<hx::thread::ConditionVariable>();

Callers

nothing calls this directly

Calls 1

tryAcquireMethod · 0.45

Tested by

no test coverage detected