aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/spinlock.h
diff options
context:
space:
mode:
authoranelyubin <anelyubin@yandex-team.ru>2022-02-10 16:49:40 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:40 +0300
commit9dac44a55ede6f682527e82880847f99bd7b2d93 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/system/spinlock.h
parent8d333d5e773f6b0ef31e7b3c92339af7e71413f6 (diff)
downloadydb-9dac44a55ede6f682527e82880847f99bd7b2d93.tar.gz
Restoring authorship annotation for <anelyubin@yandex-team.ru>. Commit 2 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 283277a28d..af2630890a 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);
}