diff options
author | stanly <stanly@yandex-team.ru> | 2022-02-10 16:46:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:49 +0300 |
commit | 6170310e8721e225f64ddabf7a7358253d7a1249 (patch) | |
tree | 49e222ea1c5804306084bb3ae065bb702625360f /library/cpp/messagebus/rain_check | |
parent | cde218e65dfef5ce03a48d641fd8f7913cf17b2d (diff) | |
download | ydb-6170310e8721e225f64ddabf7a7358253d7a1249.tar.gz |
Restoring authorship annotation for <stanly@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/messagebus/rain_check')
-rw-r--r-- | library/cpp/messagebus/rain_check/core/task.cpp | 4 | ||||
-rw-r--r-- | library/cpp/messagebus/rain_check/core/task.h | 6 | ||||
-rw-r--r-- | library/cpp/messagebus/rain_check/messagebus/messagebus_server.h | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/messagebus/rain_check/core/task.cpp b/library/cpp/messagebus/rain_check/core/task.cpp index f0ba062d8e8..a098437d534 100644 --- a/library/cpp/messagebus/rain_check/core/task.cpp +++ b/library/cpp/messagebus/rain_check/core/task.cpp @@ -211,6 +211,6 @@ TString TTaskRunnerBase::GetStatusSingleLine() { return TypeName(*Impl); } -bool NRainCheck::AreWeInsideTask() { +bool NRainCheck::AreWeInsideTask() { return ThreadCurrentTask != nullptr; -} +} diff --git a/library/cpp/messagebus/rain_check/core/task.h b/library/cpp/messagebus/rain_check/core/task.h index 2eebd6e01cb..7d8778bcda5 100644 --- a/library/cpp/messagebus/rain_check/core/task.h +++ b/library/cpp/messagebus/rain_check/core/task.h @@ -178,7 +178,7 @@ namespace NRainCheck { } }; - // Check that current method executed inside some task. - bool AreWeInsideTask(); - + // Check that current method executed inside some task. + bool AreWeInsideTask(); + } diff --git a/library/cpp/messagebus/rain_check/messagebus/messagebus_server.h b/library/cpp/messagebus/rain_check/messagebus/messagebus_server.h index 429c8e34d0f..1334f05fe46 100644 --- a/library/cpp/messagebus/rain_check/messagebus/messagebus_server.h +++ b/library/cpp/messagebus/rain_check/messagebus/messagebus_server.h @@ -5,7 +5,7 @@ #include <library/cpp/messagebus/ybus.h> -#include <util/system/yassert.h> +#include <util/system/yassert.h> namespace NRainCheck { class TBusTaskStarter: public NBus::IBusServerHandler { |