]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: mworker: fix several typos in mworker_cleantasks()
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 6 Dec 2018 14:14:37 +0000 (15:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 6 Dec 2018 14:38:24 +0000 (15:38 +0100)
commitb582339079ed9a8c5ff104a6ad155193f727707a
treea5f9c45d7402071379403e015908d3e9715db4ff
parent12c24235ca05b4d397c70db65a36ed96d3e5f1d7
BUG/MEDIUM: mworker: fix several typos in mworker_cleantasks()

Commit 27f3fa5 ("BUG/MEDIUM: mworker: stop every tasks in the master")
used MAX_THREADS as a mask instead of MAX_THREADS_MASK to clean the
global run queue, and used rq_next (global variable) instead of next_rq.

Renamed next_rq as tmp_rq and next_wq as tmp_wq to avoid confusion.

No backport needed.
src/task.c