diff options
author | kruall <kruall@ydb.tech> | 2022-09-07 15:42:25 +0300 |
---|---|---|
committer | kruall <kruall@ydb.tech> | 2022-09-07 15:42:25 +0300 |
commit | e5ca66dd4e5f7332e8a25fa508e8bfde96c0d09c (patch) | |
tree | 114e9b1c6110da816c5d262a35c520037a27215c /library/cpp/actors/testlib/test_runtime.cpp | |
parent | 797ad94f1f5268c9424a5157abed26c6a0c5bf3a (diff) | |
download | ydb-e5ca66dd4e5f7332e8a25fa508e8bfde96c0d09c.tar.gz |
Add method for sending message without waking thread up,
Diffstat (limited to 'library/cpp/actors/testlib/test_runtime.cpp')
-rw-r--r-- | library/cpp/actors/testlib/test_runtime.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/cpp/actors/testlib/test_runtime.cpp b/library/cpp/actors/testlib/test_runtime.cpp index 51d93ba6e93..578dff353e1 100644 --- a/library/cpp/actors/testlib/test_runtime.cpp +++ b/library/cpp/actors/testlib/test_runtime.cpp @@ -357,6 +357,10 @@ namespace NActors { } // for actorsystem + bool SendWithContinuousExecution(TAutoPtr<IEventHandle>& ev) override { + return Send(ev); + } + bool Send(TAutoPtr<IEventHandle>& ev) override { TGuard<TMutex> guard(Runtime->Mutex); bool verbose = (Runtime->CurrentDispatchContext ? !Runtime->CurrentDispatchContext->Options->Quiet : true) && VERBOSE; |