]> git.ipfire.org Git - thirdparty/bind9.git/commit
Remove one level of indirection from isc_rwlock [1/2]
authorOndřej Surý <ondrej@isc.org>
Fri, 14 Oct 2022 10:03:02 +0000 (12:03 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 2 Nov 2022 09:27:09 +0000 (10:27 +0100)
commit6bd201ccec1d5a11a42890e8b94a6920fcda97bb
tree9ac2e3acadea4c418b6457b4c762c25ee8918006
parent68cfbd238ce44a401460ee835a22978d7ad369b8
Remove one level of indirection from isc_rwlock [1/2]

Instead of checking the PTHREAD_RUNTIME_CHECK from the header, move it
to the pthread_rwlock implementation functions.  The internal isc_rwlock
actually cannot fail, so the checks in the header was useless anyway.
lib/isc/include/isc/rwlock.h
lib/isc/rwlock.c