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

Function __hxcpp_lock_wait

src/hx/Thread.cpp:384–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382 return new hxLock;
383}
384bool __hxcpp_lock_wait(Dynamic inlock,double inTime)
385{
386 hxLock *lock = dynamic_cast<hxLock *>(inlock.mPtr);
387 if (!lock)
388 throw HX_INVALID_OBJECT;
389 return lock->Wait(inTime);
390}
391void __hxcpp_lock_release(Dynamic inlock)
392{
393 hxLock *lock = dynamic_cast<hxLock *>(inlock.mPtr);

Callers

nothing calls this directly

Calls 1

WaitMethod · 0.45

Tested by

no test coverage detected