(&mut self)
| 82 | |
| 83 | impl Drop for SemHandle { |
| 84 | fn drop(&mut self) { |
| 85 | if self.raw != 0 as HANDLE && self.raw != INVALID_HANDLE_VALUE { |
| 86 | unsafe { |
| 87 | CloseHandle(self.raw); |
| 88 | } |
| 89 | } |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | /// _GetSemaphoreValue - get value of semaphore by briefly acquiring and releasing |
nothing calls this directly
no test coverage detected