aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/spin_wait.cpp
diff options
context:
space:
mode:
authorstanly <stanly@yandex-team.ru>2022-02-10 16:46:49 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:49 +0300
commitcde218e65dfef5ce03a48d641fd8f7913cf17b2d (patch)
treed3349caea4095825a55b5ba24fe758067b29ce6f /util/system/spin_wait.cpp
parent9f813499b4ef585cb3c2bb93de93ef003daf4fc4 (diff)
downloadydb-cde218e65dfef5ce03a48d641fd8f7913cf17b2d.tar.gz
Restoring authorship annotation for <stanly@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/spin_wait.cpp')
-rw-r--r--util/system/spin_wait.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/system/spin_wait.cpp b/util/system/spin_wait.cpp
index e27045e74f..88ce48d7b6 100644
--- a/util/system/spin_wait.cpp
+++ b/util/system/spin_wait.cpp
@@ -17,7 +17,7 @@ static inline T RandomizeSleepTime(T t) noexcept {
//arbitrary values
#define MIN_SLEEP_TIME 500
-#define MAX_SPIN_COUNT 0x7FF
+#define MAX_SPIN_COUNT 0x7FF
TSpinWait::TSpinWait() noexcept
: T(MIN_SLEEP_TIME)