aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/thread.cpp
diff options
context:
space:
mode:
authoreeight <eeight@yandex-team.ru>2022-02-10 16:46:18 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:18 +0300
commit475c0a46f28166e83fd263badc7546377cddcabe (patch)
tree39c5a49b8aaad78fe390b6f1f2886bdbda40f3e7 /util/system/thread.cpp
parenta6e0145a095c7bb3770d6e07aee301de5c73f96e (diff)
downloadydb-475c0a46f28166e83fd263badc7546377cddcabe.tar.gz
Restoring authorship annotation for <eeight@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..d471cfa0f2 100644
--- a/util/system/thread.cpp
+++ b/util/system/thread.cpp
@@ -44,7 +44,7 @@ namespace {
inline void SetThrName(const TParams& p) {
try {
if (p.Name) {
- TThread::SetCurrentThreadName(p.Name.data());
+ TThread::SetCurrentThreadName(p.Name.data());
}
} catch (...) {
// ¯\_(ツ)_/¯
@@ -445,7 +445,7 @@ namespace {
}
#endif // _win_
-void TThread::SetCurrentThreadName(const char* name) {
+void TThread::SetCurrentThreadName(const char* name) {
(void)name;
#if defined(_freebsd_)
@@ -469,7 +469,7 @@ void TThread::SetCurrentThreadName(const char* name) {
#endif // OS
}
-TString TThread::CurrentThreadName() {
+TString TThread::CurrentThreadName() {
#if defined(_freebsd_)
// TODO: check pthread_get_name_np API availability
#elif defined(_linux_)