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

Method try_lock

util/system/mutex.h:48–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 }
47
48 inline bool try_lock() noexcept {
49 return TryAcquire();
50 }
51
52 inline void unlock() noexcept {
53 Release();

Callers 1

TestLockFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestLockFunction · 0.36