]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: thread: remove thread_sync_release() and thread_sync_mask
authorWilly Tarreau <w@1wt.eu>
Mon, 27 Jun 2022 13:05:44 +0000 (15:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 Jul 2022 17:15:15 +0000 (19:15 +0200)
commit22b2a24eb2778750d028a803e70673bc34d44217
treed5c50c51328b26b9c7ab019cd61ab72c44fdc7c3
parentcce203aae5017880a846a56fb2134cc8e66728f5
CLEANUP: thread: remove thread_sync_release() and thread_sync_mask

This function was added in 2.0 when reworking the thread isolation
mechanism to make it more reliable. However it if fundamentally
incompatible with the full isolation mechanism provided by
thread_isolate_full() since that one will wait for all threads to
become idle while the former will wait for all threads to finish
waiting, causing a deadlock.

Given that it's not used, let's just drop it entirely before it gets
used by accident.
include/haproxy/thread.h
src/thread.c