commit | 6e1796e85d5351535416018112fc19ccacc7fc5e | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Thu Jun 07 11:23:40 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jun 08 18:24:53 2018 +0200 |
tree | f156d4c5beca9e55847d7489706b6cd2ae522017 | |
parent | 933642c6ef7c3015222cba84c20f13a1ca0eafd6 [diff] |
BUG/MINOR: signals: ha_sigmask macro for multithreading The behavior of sigprocmask in an multithreaded environment is undefined. The new macro ha_sigmask() calls either pthreads_sigmask() or sigprocmask() if haproxy was built with thread support or not. This should be backported to 1.8.