diff options
author | Cthulhu <cthulhu@yandex-team.ru> | 2022-02-10 16:47:44 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:44 +0300 |
commit | 6aced6c854653b75aab9808d5995be5fc4d9fa53 (patch) | |
tree | c0748b5dcbade83af788c0abfa89c0383d6b779c /library/cpp/actors/core/event.h | |
parent | bcb3e9d0eb2a8188a6a9fe0907a8949ce4881a4e (diff) | |
download | ydb-6aced6c854653b75aab9808d5995be5fc4d9fa53.tar.gz |
Restoring authorship annotation for Cthulhu <cthulhu@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/actors/core/event.h')
-rw-r--r-- | library/cpp/actors/core/event.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/actors/core/event.h b/library/cpp/actors/core/event.h index 89d1e2a969..6ff02aaf94 100644 --- a/library/cpp/actors/core/event.h +++ b/library/cpp/actors/core/event.h @@ -2,7 +2,7 @@ #include "defs.h" #include "actorid.h" -#include "callstack.h" +#include "callstack.h" #include "event_load.h" #include <library/cpp/actors/wilson/wilson_trace.h> @@ -117,9 +117,9 @@ namespace NActors { static const size_t ChannelBits = 12; static const size_t ChannelShift = (sizeof(ui32) << 3) - ChannelBits; -#ifdef USE_ACTOR_CALLSTACK +#ifdef USE_ACTOR_CALLSTACK TCallstack Callstack; -#endif +#endif ui16 GetChannel() const noexcept { return Flags >> ChannelShift; } @@ -133,7 +133,7 @@ namespace NActors { Y_VERIFY(flags < (1 << ChannelShift)); return (flags | (channel << ChannelShift)); } - + private: THolder<IEventBase> Event; TIntrusivePtr<TEventSerializedData> Buffer; @@ -165,7 +165,7 @@ namespace NActors { TActorId GetForwardOnNondeliveryRecipient() const { return OnNondeliveryHolder.Get() ? OnNondeliveryHolder->Recipient : TActorId(); } - + IEventHandle(const TActorId& recipient, const TActorId& sender, IEventBase* ev, ui32 flags = 0, ui64 cookie = 0, const TActorId* forwardOnNondelivery = nullptr, NWilson::TTraceId traceId = {}) : Type(ev->Type()) |