aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/mutex.cpp
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-02-10 16:45:12 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:12 +0300
commit49116032d905455a7b1c994e4a696afc885c1e71 (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /util/system/mutex.cpp
parent4e839db24a3bbc9f1c610c43d6faaaa99824dcca (diff)
downloadydb-49116032d905455a7b1c994e4a696afc885c1e71.tar.gz
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/mutex.cpp')
-rw-r--r--util/system/mutex.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/system/mutex.cpp b/util/system/mutex.cpp
index cd2653fc6e..4041402db9 100644
--- a/util/system/mutex.cpp
+++ b/util/system/mutex.cpp
@@ -9,7 +9,7 @@
#include <pthread.h>
#endif
-class TMutex::TImpl {
+class TMutex::TImpl {
public:
inline TImpl() {
#if defined(_win_)
@@ -120,27 +120,27 @@ private:
#endif
};
-TMutex::TMutex()
+TMutex::TMutex()
: Impl_(new TImpl())
{
}
-TMutex::TMutex(TMutex&&) = default;
+TMutex::TMutex(TMutex&&) = default;
-TMutex::~TMutex() = default;
+TMutex::~TMutex() = default;
-void TMutex::Acquire() noexcept {
+void TMutex::Acquire() noexcept {
Impl_->Acquire();
}
-bool TMutex::TryAcquire() noexcept {
+bool TMutex::TryAcquire() noexcept {
return Impl_->TryAcquire();
}
-void TMutex::Release() noexcept {
+void TMutex::Release() noexcept {
Impl_->Release();
}
-void* TMutex::Handle() const noexcept {
+void* TMutex::Handle() const noexcept {
return Impl_->Handle();
}