aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/mutex.h
diff options
context:
space:
mode:
authoriseg <iseg@yandex-team.ru>2022-02-10 16:49:39 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:39 +0300
commit8b71ce88bea710a9663bb143e4916f961c57212e (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/system/mutex.h
parentf828a15ab90e9ca8e848f83caf95c95f06be46e7 (diff)
downloadydb-8b71ce88bea710a9663bb143e4916f961c57212e.tar.gz
Restoring authorship annotation for <iseg@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/mutex.h')
-rw-r--r--util/system/mutex.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/system/mutex.h b/util/system/mutex.h
index 4d11fc9c7a..032630d134 100644
--- a/util/system/mutex.h
+++ b/util/system/mutex.h
@@ -1,16 +1,16 @@
#pragma once
-
+
#include "guard.h"
#include "defaults.h"
#include <util/generic/ptr.h>
#include <util/generic/noncopyable.h>
-
+
class TFakeMutex: public TNonCopyable {
public:
inline void Acquire() noexcept {
}
-
+
inline bool TryAcquire() noexcept {
return true;
}
@@ -32,7 +32,7 @@ public:
~TFakeMutex() = default;
};
-
+
class TMutex {
public:
TMutex();