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 | bcb3e9d0eb2a8188a6a9fe0907a8949ce4881a4e (patch) | |
tree | 09f7d6526ac5428ea224cd3cf7bd79809d8e6a07 /library/cpp/actors/core/event.h | |
parent | 7b82c914c2f468dd50a208ff6a00d38ee7f0018f (diff) | |
download | ydb-bcb3e9d0eb2a8188a6a9fe0907a8949ce4881a4e.tar.gz |
Restoring authorship annotation for Cthulhu <cthulhu@yandex-team.ru>. Commit 1 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 6ff02aaf94..89d1e2a969 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()) |