aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/actors/testlib/test_runtime.cpp
diff options
context:
space:
mode:
authorkruall <kruall@ydb.tech>2022-09-07 15:42:25 +0300
committerkruall <kruall@ydb.tech>2022-09-07 15:42:25 +0300
commite5ca66dd4e5f7332e8a25fa508e8bfde96c0d09c (patch)
tree114e9b1c6110da816c5d262a35c520037a27215c /library/cpp/actors/testlib/test_runtime.cpp
parent797ad94f1f5268c9424a5157abed26c6a0c5bf3a (diff)
downloadydb-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.cpp4
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;