aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/thread.cpp
diff options
context:
space:
mode:
authoraosipenko <aosipenko@yandex-team.ru>2022-02-10 16:48:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:08 +0300
commit948fd24d47d4b3b7815aaef1686aea00ef3f4288 (patch)
tree8ad4c39c2a5f8b341bc02e3b0c5e8f26c40373cb /util/system/thread.cpp
parentd2eb4aae699fa2f6901bf32d22eec019c8f29838 (diff)
downloadydb-948fd24d47d4b3b7815aaef1686aea00ef3f4288.tar.gz
Restoring authorship annotation for <aosipenko@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/thread.cpp')
-rw-r--r--util/system/thread.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/system/thread.cpp b/util/system/thread.cpp
index 6236746c2d..d7615776b8 100644
--- a/util/system/thread.cpp
+++ b/util/system/thread.cpp
@@ -43,7 +43,7 @@ namespace {
inline void SetThrName(const TParams& p) {
try {
- if (p.Name) {
+ if (p.Name) {
TThread::SetCurrentThreadName(p.Name.data());
}
} catch (...) {
@@ -107,7 +107,7 @@ namespace {
}
static ui32 __stdcall Proxy(void* ptr) {
- NTls::TCleaner cleaner;
+ NTls::TCleaner cleaner;
(void)cleaner;
@@ -313,7 +313,7 @@ void TThread::Detach() {
}
bool TThread::Running() const noexcept {
- return Impl_ && Impl_->Running();
+ return Impl_ && Impl_->Running();
}
TThread::TId TThread::Id() const noexcept {