]> git.ipfire.org Git - thirdparty/bird.git/commit
Loop run waits until pingers finish mq-wip-rcu-sync-deadlock
authorMaria Matejka <mq@ucw.cz>
Fri, 17 May 2024 21:21:38 +0000 (23:21 +0200)
committerMaria Matejka <mq@ucw.cz>
Fri, 17 May 2024 21:21:38 +0000 (23:21 +0200)
commit48d090aacc76e6f9f9d2f18b7fa728565c6785c8
tree0a69a3697f575f88ff8a22131d83068ae8b74f77
parent65be42269dc61b0d83a82a056997834ea1aece76
Loop run waits until pingers finish

This ensures that if somebody passes an event to a loop which
has just started executing, then the event gets picked up. Otherwise
there is a race condition causing stray events pending in queue
but without the ping (because the run actually finishes too fast
to pickup the later events).
sysdep/unix/io-loop.c