| 5 | //////////////////////////////////////////////////////////////////////////////// |
| 6 | |
| 7 | void TSpinLock::AcquireSlow() noexcept |
| 8 | { |
| 9 | TSpinWait spinWait(Location_, ESpinLockActivityKind::ReadWrite); |
| 10 | while (!TryAndTryAcquire()) { |
| 11 | spinWait.Wait(); |
| 12 | } |
| 13 | } |
| 14 | |
| 15 | //////////////////////////////////////////////////////////////////////////////// |
| 16 |