Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ lock
Method
lock
util/system/mutex.h:44–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
42
void Release() noexcept;
43
44
inline void lock() noexcept {
45
Acquire();
46
}
47
48
inline bool try_lock() noexcept {
49
return TryAcquire();
Callers
1
TestLock
Function · 0.45
Calls
1
Acquire
Function · 0.85
Tested by
1
TestLock
Function · 0.36