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

Method RunFakeMutex

util/system/mutex_ut.cpp:61–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 }
60
61 void RunFakeMutex() {
62 bool res = Data_.fakeMutex.TryAcquire();
63 FAIL_ASSERT(res);
64 }
65
66 void RunRecursiveMutex() {
67 for (size_t i = 0; i < Id_ + 1; ++i) {

Callers

nothing calls this directly

Calls 1

TryAcquireMethod · 0.45

Tested by

no test coverage detected