]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: threads: Update labels array because of changes in lock_label enum
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 30 Jan 2018 10:04:29 +0000 (11:04 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 30 Jan 2018 13:35:24 +0000 (14:35 +0100)
commitf51bac2ba83a27a75ef6bab58bfde6489b999c49
treee1383e8edea3ae1d8279b9af79d50916c05b86df
parenta9786b6f043774f66f23d40cc0cb6317b433bbb3
BUG/MINOR: threads: Update labels array because of changes in lock_label enum

Recent changes to the enum were not synchronized with the lock debugging
code. Now we use a switch/case instead of an array so that the compiler
throws a warning if there is any inconsistency.

To be backported to 1.8 (at least to add the START entry).
include/common/hathreads.h