]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pollers: Add a way to wake a thread sleeping in the poller.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 26 Jul 2018 15:55:11 +0000 (17:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 26 Jul 2018 17:09:50 +0000 (19:09 +0200)
commit79321b95a85e2e49d08980f65b5f3dfe181c340d
tree4b18147078e5e5a6f5813d81378b9d144d7caaa0
parenteba0c0b51dc665891d75cf879c1c53ee9519120b
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.
include/proto/fd.h
include/types/global.h
src/cli.c
src/fd.c
src/haproxy.c
src/task.c