| 167 | } |
| 168 | |
| 169 | void Threading::KernelSemaphore::Wait() |
| 170 | { |
| 171 | #ifdef _WIN32 |
| 172 | WaitForSingleObject(m_sema, INFINITE); |
| 173 | #else |
| 174 | sem_wait(&m_sema); |
| 175 | #endif |
| 176 | } |
| 177 | |
| 178 | bool Threading::KernelSemaphore::TryWait() |
| 179 | { |
no outgoing calls
no test coverage detected