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
commit69e3c43df1c96bc2ac8946bf4dfb1f5fc438ff7f (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /util/system/thread.cpp
parent948fd24d47d4b3b7815aaef1686aea00ef3f4288 (diff)
downloadydb-69e3c43df1c96bc2ac8946bf4dfb1f5fc438ff7f.tar.gz
Restoring authorship annotation for <aosipenko@yandex-team.ru>. Commit 2 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 d7615776b8..6236746c2d 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 {