mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-23 02:01:55 +00:00
Sending an event must also ping the target IO loop
This commit is contained in:
parent
e858dce757
commit
f60f7dfdee
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user