]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix the isc_rwlock_tryupgrade() function's unit test
authorAram Sargsyan <aram@isc.org>
Wed, 16 Apr 2025 12:56:18 +0000 (12:56 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Wed, 16 Apr 2025 15:59:42 +0000 (15:59 +0000)
commitc27659bc623f2d58bccc9e0d99ca1ad180e8180b
tree61786bb3a53fa03406ddb348300ac5c8c6865005
parent3ae06d14d3fb37e4faf91ab3196a62dc3e3c6db1
Fix the isc_rwlock_tryupgrade() function's unit test

The pthread-based implementation of the isc_rwlock_tryupgrade()
function always returns ISC_R_LOCKBUSY. Fix the test by adding
conditional checks.
tests/isc/rwlock_test.c