0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 17:51:53 +00:00

Sending an event must also ping the target IO loop

This commit is contained in:
Maria Matejka 2022-07-28 19:52:19 +02:00
parent e858dce757
commit f60f7dfdee

View File

@ -183,6 +183,8 @@ ev_send(event_list *l, event *e)
while (!atomic_compare_exchange_strong_explicit( while (!atomic_compare_exchange_strong_explicit(
&l->receiver, &next, e, &l->receiver, &next, e,
memory_order_acq_rel, memory_order_acquire)); memory_order_acq_rel, memory_order_acquire));
birdloop_ping(l->loop);
} }
void io_log_event(void *hook, void *data); void io_log_event(void *hook, void *data);