]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] stream_interface: add SI_FL_DONT_WAKE flag
authorWilly Tarreau <w@1wt.eu>
Sat, 5 Sep 2009 18:57:35 +0000 (20:57 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Sep 2009 21:52:14 +0000 (23:52 +0200)
commit89f7ef295da763b9c6388be1c81439cb0b566b2d
tree944fad09fe91fa9f5fd20279f75bfab5975674de
parent2e1dd3d21350ad5eef7f688eee0c75e140430190
[MINOR] stream_interface: add SI_FL_DONT_WAKE flag

We had to add a new stream_interface flag : SI_FL_DONT_WAKE. This flag
is used to indicate that a stream interface is being updated and that
no wake up should be sent to its owner. This will be required for tasks
embedded into stream interfaces. Otherwise, we could have the
owner task send wakeups to itself during status updates, thus
preventing the state from converging. As long as a stream_interface's
status is being monitored and adjusted, there is no reason to wake it
up again, as we know its changes will be seen and considered.
include/types/stream_interface.h
src/session.c
src/stream_sock.c