@@ -180,7 +180,6 @@ namespace NActors {
180
180
switch (x->MailboxType ) {
181
181
case TMailboxType::Simple: {
182
182
TSimpleMailbox* const mailbox = TSimpleMailbox::Get (lineHint, x);
183
- mailbox->Push (recipient.LocalId ());
184
183
#if (!defined(_tsan_enabled_))
185
184
Y_DEBUG_ABORT_UNLESS (mailbox->Type == (ui32)x->MailboxType );
186
185
#endif
@@ -205,7 +204,6 @@ namespace NActors {
205
204
return false ;
206
205
207
206
TRevolvingMailbox* const mailbox = TRevolvingMailbox::Get (lineHint, x);
208
- mailbox->Push (recipient.LocalId ());
209
207
#if (!defined(_tsan_enabled_))
210
208
Y_DEBUG_ABORT_UNLESS (mailbox->Type == (ui32)x->MailboxType );
211
209
#endif
@@ -218,7 +216,6 @@ namespace NActors {
218
216
return true ;
219
217
case TMailboxType::HTSwap: {
220
218
THTSwapMailbox* const mailbox = THTSwapMailbox::Get (lineHint, x);
221
- mailbox->Push (recipient.LocalId ());
222
219
#if (!defined(_tsan_enabled_))
223
220
Y_DEBUG_ABORT_UNLESS (mailbox->Type == (ui32)x->MailboxType );
224
221
#endif
@@ -234,7 +231,6 @@ namespace NActors {
234
231
return false ;
235
232
236
233
TReadAsFilledMailbox* const mailbox = TReadAsFilledMailbox::Get (lineHint, x);
237
- mailbox->Push (recipient.LocalId ());
238
234
#if (!defined(_tsan_enabled_))
239
235
Y_DEBUG_ABORT_UNLESS (mailbox->Type == (ui32)x->MailboxType );
240
236
#endif
@@ -250,7 +246,6 @@ namespace NActors {
250
246
return false ;
251
247
252
248
TTinyReadAsFilledMailbox* const mailbox = TTinyReadAsFilledMailbox::Get (lineHint, x);
253
- mailbox->Push (recipient.LocalId ());
254
249
#if (!defined(_tsan_enabled_))
255
250
Y_DEBUG_ABORT_UNLESS (mailbox->Type == (ui32)x->MailboxType );
256
251
#endif
@@ -435,24 +430,6 @@ namespace NActors {
435
430
}
436
431
}
437
432
438
- TMailboxUsageImpl<true >::~TMailboxUsageImpl () {
439
- while (auto *e = PendingEventQueue.Pop ()) {
440
- delete e;
441
- }
442
- }
443
-
444
- void TMailboxUsageImpl<true >::Push(ui64 localId) {
445
- PendingEventQueue.Push (new TPendingEvent{localId, GetCycleCountFast ()});
446
- }
447
-
448
- void TMailboxUsageImpl<true >::ProcessEvents(TMailboxHeader *mailbox) {
449
- while (std::unique_ptr<TPendingEvent> e{PendingEventQueue.Pop ()}) {
450
- if (IActor *actor = mailbox->FindActor (e->LocalId )) {
451
- actor->OnEnqueueEvent (e->Timestamp );
452
- }
453
- }
454
- }
455
-
456
433
TMailboxTable::TSimpleMailbox::TSimpleMailbox ()
457
434
: TMailboxHeader(TMailboxType::Simple)
458
435
, ScheduleMoment(0 )
0 commit comments