diff options
author | anelyubin <anelyubin@yandex-team.ru> | 2022-02-10 16:49:39 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:39 +0300 |
commit | 8d333d5e773f6b0ef31e7b3c92339af7e71413f6 (patch) | |
tree | be79c5bb4a39ab3410c17c33f1aff87810558f54 /util/system/spinlock.h | |
parent | ad8c15be8c1a4f48a52390f23cb735060461684e (diff) | |
download | ydb-8d333d5e773f6b0ef31e7b3c92339af7e71413f6.tar.gz |
Restoring authorship annotation for <anelyubin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/spinlock.h')
-rw-r--r-- | util/system/spinlock.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/system/spinlock.h b/util/system/spinlock.h index af2630890a..283277a28d 100644 --- a/util/system/spinlock.h +++ b/util/system/spinlock.h @@ -117,9 +117,9 @@ struct TCommonLockOps<TAtomic> { } static inline bool TryAcquire(TAtomic* v) noexcept { - return AtomicTryLock(v); - } - + return AtomicTryLock(v); + } + static inline void Release(TAtomic* v) noexcept { ReleaseAdaptiveLock(v); } |