]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: haproxy: don't use sync_poll_loop() anymore in the main loop
authorWilly Tarreau <w@1wt.eu>
Thu, 2 Aug 2018 08:54:31 +0000 (10:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 8 Aug 2018 07:56:32 +0000 (09:56 +0200)
commit85c459d7e82249bf99125e081cd8232c881e41f5
treee66f46babda14b646622d153a007963d9d91bced
parent3d3700f2167cffd9f8b5695279ffa8734eeb321d
MEDIUM: haproxy: don't use sync_poll_loop() anymore in the main loop

This partially reverts commit d8fd2af ("BUG/MEDIUM: threads: Use the sync
point to check active jobs and exit") which used to address an issue in
the way the sync point used to check for present threads, which was later
addressed by commit ddb6c16 ("BUG/MEDIUM: threads: Fix the exit condition
of the thread barrier"). Thus there is no need anymore to use the sync
point for exiting and we can completely remove this call in the main loop.
src/haproxy.c