aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/event.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /util/system/event.h
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'util/system/event.h')
-rw-r--r--util/system/event.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/util/system/event.h b/util/system/event.h
index cab2fc478a..3e9378fbee 100644
--- a/util/system/event.h
+++ b/util/system/event.h
@@ -24,34 +24,34 @@ public:
~TSystemEvent();
- void Reset() noexcept;
- void Signal() noexcept;
+ void Reset() noexcept;
+ void Signal() noexcept;
/*
* return true if signaled, false if timed out.
*/
- bool WaitD(TInstant deadLine) noexcept;
+ bool WaitD(TInstant deadLine) noexcept;
/*
* return true if signaled, false if timed out.
*/
- inline bool WaitT(TDuration timeOut) noexcept {
+ inline bool WaitT(TDuration timeOut) noexcept {
return WaitD(timeOut.ToDeadLine());
}
/*
* wait infinite time
*/
- inline void WaitI() noexcept {
+ inline void WaitI() noexcept {
WaitD(TInstant::Max());
}
//return true if signaled, false if timed out.
- inline bool Wait(ui32 timer) noexcept {
+ inline bool Wait(ui32 timer) noexcept {
return WaitT(TDuration::MilliSeconds(timer));
}
- inline bool Wait() noexcept {
+ inline bool Wait() noexcept {
WaitI();
return true;