aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/yield.cpp
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/system/yield.cpp
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'util/system/yield.cpp')
-rw-r--r--util/system/yield.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/system/yield.cpp b/util/system/yield.cpp
index 0da3c2f573..b327b37b1a 100644
--- a/util/system/yield.cpp
+++ b/util/system/yield.cpp
@@ -8,7 +8,7 @@
#include <sched.h>
#endif
-void SchedYield() noexcept {
+void SchedYield() noexcept {
#if defined(_unix_)
sched_yield();
#else
@@ -16,7 +16,7 @@ void SchedYield() noexcept {
#endif
}
-void ThreadYield() noexcept {
+void ThreadYield() noexcept {
#if defined(_freebsd_)
pthread_yield();
#else