From f60f7dfdee556a12c47940bc6ec3113fdae46a5c Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Thu, 28 Jul 2022 19:52:19 +0200 Subject: [PATCH] Sending an event must also ping the target IO loop --- lib/event.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/event.c b/lib/event.c index 7effc315..07d7dc53 100644 --- a/lib/event.c +++ b/lib/event.c @@ -183,6 +183,8 @@ ev_send(event_list *l, event *e) while (!atomic_compare_exchange_strong_explicit( &l->receiver, &next, e, memory_order_acq_rel, memory_order_acquire)); + + birdloop_ping(l->loop); } void io_log_event(void *hook, void *data);