diff options
author | Maria Matejka <mq@ucw.cz> | 2022-07-28 19:52:19 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-07-28 19:52:19 +0200 |
commit | f60f7dfdee556a12c47940bc6ec3113fdae46a5c (patch) | |
tree | bbddfd7723c3dc71539401d51c0bca4dc17ad355 | |
parent | e858dce757f8766a29f2151ec3ffef3df85af66b (diff) |
Sending an event must also ping the target IO loop
-rw-r--r-- | lib/event.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |