| 229 | semaphore->acquire(); |
| 230 | } |
| 231 | bool __hxcpp_semaphore_try_acquire(Dynamic inSemaphore, double timeout) { |
| 232 | auto semaphore = inSemaphore.Cast<hx::thread::CountingSemaphore>(); |
| 233 | |
| 234 | return semaphore->tryAcquire(timeout); |
| 235 | } |
| 236 | void __hxcpp_semaphore_release(Dynamic inSemaphore) { |
| 237 | auto semaphore = inSemaphore.Cast<hx::thread::CountingSemaphore>(); |
| 238 |
nothing calls this directly
no test coverage detected