| 212 | return mutex->tryAcquire(); |
| 213 | } |
| 214 | void __hxcpp_mutex_release(Dynamic inMutex) |
| 215 | { |
| 216 | auto mutex = inMutex.Cast<hx::thread::RecursiveMutex>(); |
| 217 | |
| 218 | mutex->release(); |
| 219 | } |
| 220 | |
| 221 | // --- Semaphore ------------------------------------------------------------ |
| 222 |