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/actor | |
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/actor')
-rw-r--r-- | library/cpp/messagebus/actor/executor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/messagebus/actor/executor.cpp b/library/cpp/messagebus/actor/executor.cpp index 6325dd3821..7a2227a458 100644 --- a/library/cpp/messagebus/actor/executor.cpp +++ b/library/cpp/messagebus/actor/executor.cpp @@ -233,7 +233,7 @@ void TExecutor::EnqueueWork(TArrayRef<IWorkItem* const> wis) { } } -size_t TExecutor::GetWorkQueueSize() const { +size_t TExecutor::GetWorkQueueSize() const { return WorkItems.Size(); } @@ -259,7 +259,7 @@ TString TExecutor::GetStatusSingleLine() const { return ss.Str(); } -TExecutorStatus TExecutor::GetStatusRecordInternal() const { +TExecutorStatus TExecutor::GetStatusRecordInternal() const { TExecutorStatus r; r.WorkQueueSize = GetWorkQueueSize(); @@ -279,7 +279,7 @@ TExecutorStatus TExecutor::GetStatusRecordInternal() const { return r; } -bool TExecutor::IsInExecutorThread() const { +bool TExecutor::IsInExecutorThread() const { return ThreadCurrentExecutor == this; } |