commit | d645574fd49d19da9513d19f78648de2c9bc670a | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed May 13 14:30:25 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed May 13 14:30:25 2020 +0200 |
tree | 7399bfeaaa70025f22995466b30d048f77b2b8e5 | |
parent | d7a6b2f742340ae64eead154bce80ccb25158f84 [diff] |
MINOR: soft-stop: let the first stopper only signal other threads When the first thread stops and wakes others up, it's possible some of them will also start to wake others in parallel. Let's make give this notification task to the very first one instead since it's enough and can reduce the amount of needless (though harmless) wakeup calls.