summaryrefslogtreecommitdiffstats
path: root/util/system/event.cpp
diff options
context:
space:
mode:
authorleo <[email protected]>2022-02-10 16:46:40 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:46:40 +0300
commit980edcd3304699edf9d4e4d6a656e585028e2a72 (patch)
tree139f47f3911484ae9af0eb347b1a88bd6c4bb35f /util/system/event.cpp
parentb036a557f285146e5e35d4213e29a094ab907bcf (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/system/event.cpp')
-rw-r--r--util/system/event.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/util/system/event.cpp b/util/system/event.cpp
index 79b3cdb2917..1eb0380eac3 100644
--- a/util/system/event.cpp
+++ b/util/system/event.cpp
@@ -1,5 +1,5 @@
-#include "datetime.h"
-#include "defaults.h"
+#include "datetime.h"
+#include "defaults.h"
#include <cstdio>
@@ -7,7 +7,7 @@
#include "event.h"
#include "mutex.h"
#include "condvar.h"
-
+
#ifdef _win_
#include "winint.h"
#endif
@@ -66,7 +66,7 @@ public:
Cond.Signal();
}
}
-
+
inline void Reset() noexcept {
AtomicSet(Signaled, 0);
}
@@ -109,9 +109,9 @@ private:
TSystemEvent::TSystemEvent(ResetMode rmode)
: EvImpl_(new TEvImpl(rmode))
-{
-}
-
+{
+}
+
TSystemEvent::TSystemEvent(const TSystemEvent& other) noexcept
: EvImpl_(other.EvImpl_)
{
@@ -123,11 +123,11 @@ TSystemEvent& TSystemEvent::operator=(const TSystemEvent& other) noexcept {
}
TSystemEvent::~TSystemEvent() = default;
-
+
void TSystemEvent::Reset() noexcept {
EvImpl_->Reset();
-}
-
+}
+
void TSystemEvent::Signal() noexcept {
EvImpl_->Signal();
}