| 100 | } |
| 101 | |
| 102 | inline void Release() noexcept { |
| 103 | #if defined(_win_) |
| 104 | LeaveCriticalSection(&Obj); |
| 105 | #else |
| 106 | int result = pthread_mutex_unlock(&Obj); |
| 107 | Y_ABORT_UNLESS(result == 0, "mutex unlock failure (%s)", LastSystemErrorText(result)); |
| 108 | #endif |
| 109 | } |
| 110 | |
| 111 | inline void* Handle() const noexcept { |
| 112 | return (void*)&Obj; |
nothing calls this directly
no test coverage detected