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

Method AcquireReaderSlow

library/cpp/yt/threading/rw_spin_lock.cpp:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14////////////////////////////////////////////////////////////////////////////////
15
16void TUncheckedReaderWriterSpinLock::AcquireReaderSlow() noexcept
17{
18 TSpinWait spinWait(Location_, ESpinLockActivityKind::Read);
19 while (!TryAndTryAcquireReader()) {
20 spinWait.Wait();
21 }
22}
23
24void TUncheckedReaderWriterSpinLock::AcquireReaderForkFriendlySlow() noexcept
25{

Callers

nothing calls this directly

Calls 1

WaitMethod · 0.45

Tested by

no test coverage detected