Skip to content
Snippets Groups Projects
Commit 1b66a8ec authored by Florian Fischer's avatar Florian Fischer
Browse files

always use eventfds for specific worker IO based worker notifications

Eventfds are pollable (no iow thread is blocked reading from the IO object)
contrary to waitfds.
And using pipes seams also rather excessive especially since we ensure
that only a single notification is written before it is consumed.

This makes the code of the IO-based sleep strategies easier and I would
expect also faster.
parent 814fd9aa
No related branches found
No related tags found
1 merge request!411add waitfd support, generalize IO sleep_strategy code and use MSG_RING
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment