diff options
author | xenoxeno <xeno@ydb.tech> | 2022-12-28 17:13:19 +0300 |
---|---|---|
committer | xenoxeno <xeno@ydb.tech> | 2022-12-28 17:13:19 +0300 |
commit | 29d63e5c12b976eb2070e1013f8a7ca4f9d7b1af (patch) | |
tree | d122c9c8f74e96ac40aaed5829952b6281394114 | |
parent | 61e159ca8f5b33e3a43e1b34444581675f1e96dd (diff) | |
download | ydb-29d63e5c12b976eb2070e1013f8a7ca4f9d7b1af.tar.gz |
add cookie argument
-rw-r--r-- | library/cpp/actors/core/actorsystem.cpp | 4 | ||||
-rw-r--r-- | library/cpp/actors/core/actorsystem.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/actors/core/actorsystem.cpp b/library/cpp/actors/core/actorsystem.cpp index 7321a94a1b..bb5326f678 100644 --- a/library/cpp/actors/core/actorsystem.cpp +++ b/library/cpp/actors/core/actorsystem.cpp @@ -123,8 +123,8 @@ namespace NActors { return this->GenericSend<&IExecutorPool::SendWithContinuousExecution>(ev); } - bool TActorSystem::Send(const TActorId& recipient, IEventBase* ev, ui32 flags) const { - return this->Send(new IEventHandle(recipient, DefSelfID, ev, flags)); + bool TActorSystem::Send(const TActorId& recipient, IEventBase* ev, ui32 flags, ui64 cookie) const { + return this->Send(new IEventHandle(recipient, DefSelfID, ev, flags, cookie)); } void TActorSystem::Schedule(TInstant deadline, TAutoPtr<IEventHandle> ev, ISchedulerCookie* cookie) const { diff --git a/library/cpp/actors/core/actorsystem.h b/library/cpp/actors/core/actorsystem.h index fd635e86c6..14379950dd 100644 --- a/library/cpp/actors/core/actorsystem.h +++ b/library/cpp/actors/core/actorsystem.h @@ -314,7 +314,7 @@ namespace NActors { public: bool Send(TAutoPtr<IEventHandle> ev) const; bool SendWithContinuousExecution(TAutoPtr<IEventHandle> ev) const; - bool Send(const TActorId& recipient, IEventBase* ev, ui32 flags = 0) const; + bool Send(const TActorId& recipient, IEventBase* ev, ui32 flags = 0, ui64 cookie = 0) const; /** * Schedule one-shot event that will be send at given time point in the future. |