MCPcopy Create free account
hub / github.com/catboost/catboost / Release

Method Release

util/system/mutex.cpp:102–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls 1

LastSystemErrorTextFunction · 0.70

Tested by

no test coverage detected