summaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/actor
diff options
context:
space:
mode:
authoreeight <[email protected]>2022-02-10 16:46:18 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:46:18 +0300
commit475c0a46f28166e83fd263badc7546377cddcabe (patch)
tree39c5a49b8aaad78fe390b6f1f2886bdbda40f3e7 /library/cpp/messagebus/actor
parenta6e0145a095c7bb3770d6e07aee301de5c73f96e (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/messagebus/actor')
-rw-r--r--library/cpp/messagebus/actor/executor.cpp2
-rw-r--r--library/cpp/messagebus/actor/thread_extra.cpp6
-rw-r--r--library/cpp/messagebus/actor/thread_extra.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/messagebus/actor/executor.cpp b/library/cpp/messagebus/actor/executor.cpp
index 7a2227a4589..5b38e87495f 100644
--- a/library/cpp/messagebus/actor/executor.cpp
+++ b/library/cpp/messagebus/actor/executor.cpp
@@ -322,7 +322,7 @@ void TExecutor::RunWorker() {
Y_VERIFY(!ThreadCurrentExecutor, "state check");
ThreadCurrentExecutor = this;
- SetCurrentThreadName("wrkr");
+ SetCurrentThreadName("wrkr");
for (;;) {
TAutoPtr<IWorkItem> wi = DequeueWork();
diff --git a/library/cpp/messagebus/actor/thread_extra.cpp b/library/cpp/messagebus/actor/thread_extra.cpp
index 048480f2553..ad59d7113ad 100644
--- a/library/cpp/messagebus/actor/thread_extra.cpp
+++ b/library/cpp/messagebus/actor/thread_extra.cpp
@@ -19,12 +19,12 @@ namespace {
#endif
}
-void SetCurrentThreadName(const char* name) {
+void SetCurrentThreadName(const char* name) {
#ifdef _linux_
TStringStream linuxName;
linuxName << GetExecName() << "." << name;
- TThread::SetCurrentThreadName(linuxName.Str().data());
+ TThread::SetCurrentThreadName(linuxName.Str().data());
#else
- TThread::SetCurrentThreadName(name);
+ TThread::SetCurrentThreadName(name);
#endif
}
diff --git a/library/cpp/messagebus/actor/thread_extra.h b/library/cpp/messagebus/actor/thread_extra.h
index b5aa1516185..5e8e271beb3 100644
--- a/library/cpp/messagebus/actor/thread_extra.h
+++ b/library/cpp/messagebus/actor/thread_extra.h
@@ -24,7 +24,7 @@ namespace NTSAN {
}
-void SetCurrentThreadName(const char* name);
+void SetCurrentThreadName(const char* name);
namespace NThreadExtra {
namespace NPrivate {