| 22 | } |
| 23 | |
| 24 | void TUncheckedReaderWriterSpinLock::AcquireReaderForkFriendlySlow() noexcept |
| 25 | { |
| 26 | TSpinWait spinWait(Location_, ESpinLockActivityKind::Read); |
| 27 | while (!TryAcquireReaderForkFriendly()) { |
| 28 | spinWait.Wait(); |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | void TUncheckedReaderWriterSpinLock::AcquireWriterSlow() noexcept |
| 33 | { |