Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
240
bool TSemaphore::TryAcquire() noexcept {
241
return Impl_->TryAcquire();
242
}
243
244
#if defined(_unix_) && !defined(_darwin_)
245
class TFastSemaphore::TImpl: public TPosixSemaphore {
Callers
3
RunFakeMutex
Method · 0.45
RunRecursiveMutex
Method · 0.45
TestLock
Function · 0.45
Calls
no outgoing calls
Tested by
1
TestLock
Function · 0.36