commit | 79321b95a85e2e49d08980f65b5f3dfe181c340d | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Thu Jul 26 17:55:11 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jul 26 19:09:50 2018 +0200 |
tree | 4b18147078e5e5a6f5813d81378b9d144d7caaa0 | |
parent | eba0c0b51dc665891d75cf879c1c53ee9519120b [diff] |
MINOR: pollers: Add a way to wake a thread sleeping in the poller. Add a new pipe, one per thread, so that we can write on it to wake a thread sleeping in a poller, and use it to wake threads supposed to take care of a task, if they are all sleeping.