aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/condvar.h
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/condvar.h
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'util/system/condvar.h')
-rw-r--r--util/system/condvar.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/system/condvar.h b/util/system/condvar.h
index b18e48432b..569162717c 100644
--- a/util/system/condvar.h
+++ b/util/system/condvar.h
@@ -11,10 +11,10 @@
class TCondVar {
public:
TCondVar();
- ~TCondVar();
+ ~TCondVar();
- void BroadCast() noexcept;
- void Signal() noexcept;
+ void BroadCast() noexcept;
+ void Signal() noexcept;
/*
* returns false if failed by timeout
@@ -46,7 +46,7 @@ public:
/*
* infinite wait
*/
- inline void WaitI(TMutex& m) noexcept {
+ inline void WaitI(TMutex& m) noexcept {
WaitD(m, TInstant::Max());
}
@@ -56,7 +56,7 @@ public:
}
//deprecated
- inline void Wait(TMutex& m) noexcept {
+ inline void Wait(TMutex& m) noexcept {
WaitI(m);
}