| 13 | }; |
| 14 | |
| 15 | hx::thread::CountingSemaphore_obj::CountingSemaphore_obj(int value) : impl(new Impl()) |
| 16 | { |
| 17 | impl->semaphore = dispatch_semaphore_create(value); |
| 18 | |
| 19 | hx::GCSetFinalizer(this, Impl::finalise); |
| 20 | } |
| 21 | |
| 22 | void hx::thread::CountingSemaphore_obj::acquire() |
| 23 | { |
nothing calls this directly
no outgoing calls
no test coverage detected