aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/spinlock.h
diff options
context:
space:
mode:
authoranelyubin <anelyubin@yandex-team.ru>2022-02-10 16:49:39 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:39 +0300
commit8d333d5e773f6b0ef31e7b3c92339af7e71413f6 (patch)
treebe79c5bb4a39ab3410c17c33f1aff87810558f54 /util/system/spinlock.h
parentad8c15be8c1a4f48a52390f23cb735060461684e (diff)
downloadydb-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.h6
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);
}