| 33 | { |
| 34 | public: |
| 35 | KernelSemaphore() |
| 36 | { |
| 37 | CHECK_EQ( |
| 38 | KERN_SUCCESS, |
| 39 | semaphore_create(mach_task_self(), &semaphore, SYNC_POLICY_FIFO, 0)); |
| 40 | } |
| 41 | |
| 42 | KernelSemaphore(const KernelSemaphore& other) = delete; |
| 43 |
nothing calls this directly
no outgoing calls
no test coverage detected