MINOR: threads/queue: Get rid of THREAD_WANT_SYNC in the queue code.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 26 Jul 2018 16:47:27 +0000 (18:47 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 26 Jul 2018 18:55:02 +0000 (20:55 +0200)
commitecfe673f6110f8177d7d71cc6d1a5ccff9c9c2df
tree2025c6f9b1feaeeda6be26d873833accab5488a3
parent79321b95a85e2e49d08980f65b5f3dfe181c340d
MINOR: threads/queue: Get rid of THREAD_WANT_SYNC in the queue code.

Now that we can wake one thread sleeping in the poller, we don't have to
use THREAD_WANT_SYNC any more.

This gives a significant performance boost on highly contended accesses
(servers with maxconn 1), showing a jump from 21k to 31k conn/s on a
test involving 8 threads.
src/queue.c