]> git.ipfire.org Git - thirdparty/bird.git/commit
First try of loop balancing
authorMaria Matejka <mq@ucw.cz>
Sun, 30 Apr 2023 20:17:42 +0000 (22:17 +0200)
committerMaria Matejka <mq@ucw.cz>
Sat, 6 May 2023 08:50:26 +0000 (10:50 +0200)
commitfa973c2c153eaaa1abcef8d0f52a0b1fd68c37d8
tree5d79f72cfd352ebda2913d37c53241e01e6c0459
parent9f25dd79b8e9fdea9050c9f7e3a10cea8791d745
First try of loop balancing

If a thread encounters timeout == 0 for poll, it considers itself
"busy" and with some hysteresis it tries to drop loops for others to
pick and thus better distribute work between threads.
sysdep/unix/io-loop.c
sysdep/unix/io-loop.h