]> git.ipfire.org Git - thirdparty/bind9.git/commit
Remove mutex debugging code
authorMichał Kępień <michal@isc.org>
Thu, 9 Dec 2021 13:02:36 +0000 (14:02 +0100)
committerMichał Kępień <michal@isc.org>
Thu, 9 Dec 2021 13:02:36 +0000 (14:02 +0100)
commiteb4713c8e55917485660ed56e8a009a558454f54
treed15fda83fc636e510e9a4f4786386cfc959fe875
parent0964a94ad528ac2d84cecb99ebdf74d76677e559
Remove mutex debugging code

Mutex debugging code (used when the ISC_MUTEX_DEBUG preprocessor macro
is set to 1 and PTHREAD_MUTEX_ERRORCHECK is defined) has been broken for
the past 3 years (since commit 2f3eee5a4fdad6606135116c70875b3180c7ed83)
and nobody complained, which is a strong indication that this code is
not being used these days any more.  External tools for detecting
locking issues are already wired into various GitLab CI checks.  Drop
all code depending on the ISC_MUTEX_DEBUG preprocessor macro being set.
lib/isc/include/isc/mutex.h
lib/isc/mutex.c