MCPcopy 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

TestLockFunction · 0.45

Calls 1

AcquireFunction · 0.85

Tested by 1

TestLockFunction · 0.36