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

Method TryAcquire

util/system/sem.cpp:240–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240bool TSemaphore::TryAcquire() noexcept {
241 return Impl_->TryAcquire();
242}
243
244#if defined(_unix_) && !defined(_darwin_)
245class TFastSemaphore::TImpl: public TPosixSemaphore {

Callers 3

RunFakeMutexMethod · 0.45
RunRecursiveMutexMethod · 0.45
TestLockFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestLockFunction · 0.36