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

Method Acquire

util/system/sem.cpp:236–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236void TSemaphore::Acquire() noexcept {
237 Impl_->Acquire();
238}
239
240bool TSemaphore::TryAcquire() noexcept {
241 return Impl_->TryAcquire();

Callers 10

ReleaseReadMethod · 0.45
ReleaseWriteMethod · 0.45
ReleaseMethod · 0.45
RunBasicsMethod · 0.45
RunRecursiveMutexMethod · 0.45
TestLockFunction · 0.45
WaitDMethod · 0.45
StopMethod · 0.45
WaitForJobMethod · 0.45

Calls

no outgoing calls

Tested by 1

TestLockFunction · 0.36