commit | d8b7a4701d1b01db5b0efc1de4227acfa9604d0f | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Thu Aug 16 19:03:02 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Aug 16 19:25:46 2018 +0200 |
tree | c5bb7912ba6b1559136c941698b370ef1f908997 | |
parent | 5c110b924e3368088568293d56e08e2e85ea8bc4 [diff] |
BUG/MEDIUM: tasks: Don't insert in the global rqueue if nbthread == 1 Make sure we don't insert a task in the global run queue if nbthread == 1, as, as an optimisation, we avoid reading from it if nbthread == 1.