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
commit6170310e8721e225f64ddabf7a7358253d7a1249 (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /util/system/spin_wait.cpp
parentcde218e65dfef5ce03a48d641fd8f7913cf17b2d (diff)
downloadydb-6170310e8721e225f64ddabf7a7358253d7a1249.tar.gz
Restoring authorship annotation for <stanly@yandex-team.ru>. Commit 2 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 88ce48d7b6..e27045e74f 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)