commit | 76b44195c9020e0f2cab4d983e9346d9de6c895f | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Apr 16 11:33:39 2021 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Sat Apr 17 11:14:58 2021 +0200 |
tree | e0ff359e1f147e196378b1628ad7b04f67097511 | |
parent | f63a18550073e821976606f9602c261976939ae9 [diff] |
MINOR: threads: Only consider running threads to end a thread harmeless period When a thread ends its harmeless period, we must only consider running threads when testing threads_want_rdv_mask mask. To do so, we reintroduce all_threads_mask mask in the bitwise operation (It was removed to fix a deadlock). Note that for now it is useless because there is no way to stop threads or to have threads reserved for another task. But it is safer this way to avoid bugs in the future.