diff options
author | Vlad Yaroslavlev <vladon@vladon.com> | 2022-02-10 16:46:23 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:23 +0300 |
commit | 706b83ed7de5a473436620367af31fc0ceecde07 (patch) | |
tree | 103305d30dec77e8f6367753367f59b3cd68f9f1 /util/system/spin_wait.cpp | |
parent | 918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff) | |
download | ydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz |
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'util/system/spin_wait.cpp')
-rw-r--r-- | util/system/spin_wait.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/system/spin_wait.cpp b/util/system/spin_wait.cpp index e27045e74f..c2281a111d 100644 --- a/util/system/spin_wait.cpp +++ b/util/system/spin_wait.cpp @@ -8,7 +8,7 @@ #include <util/generic/utility.h> template <class T> -static inline T RandomizeSleepTime(T t) noexcept { +static inline T RandomizeSleepTime(T t) noexcept { static TAtomic counter = 0; const T rndNum = IntHash((T)AtomicIncrement(counter)); |