MINOR: threads: augment rwlock debugging stats to report seek lock stats
authorWilly Tarreau <w@1wt.eu>
Fri, 16 Oct 2020 14:49:38 +0000 (16:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 16 Oct 2020 14:51:49 +0000 (16:51 +0200)
commit8d5360ca7f2c0433d0ae8810a4f8849929a2cee8
treea7aa24527365c62f388d75d4cbc8c2fa69f4c6ea
parent3cfaa8d1e075b5037b15775ec6b81ef16c4d81ce
MINOR: threads: augment rwlock debugging stats to report seek lock stats

We currently use only read and write lock operations with rwlocks, but
ours also support upgradable seek locks for which we do not report any
stats. Let's add them now when DEBUG_THREAD is enabled.
include/haproxy/thread-t.h
include/haproxy/thread.h