bind9/tests
Tony Finch c319ccd4c9 Fixes for liburcu-qsbr
Move registration and deregistration of the main thread from
`isc_loopmgr_run()` into `isc__initialize()` / `isc__shutdown()`:
liburcu-qsbr fails an assertion if we try to use it from an
unregistered thread, and we need to be able to use it when the
event loops are not running.

Use `rcu_assign_pointer()` and `rcu_dereference()` in qp-trie
transactions so that they properly mark threads as online. The
RCU-protected pointer is no longer declared atomic because
liburcu does not (yet) use standard C atomics.

Fix the definition of `isc_qsbr_rcu_dereference()` to return
the referenced value, and to call the right function inside
liburcu.

Change the thread sanitizer suppressions to match any variant of
`rcu_*_barrier()`
2023-05-15 20:49:42 +00:00
..
bench Get the tests working with liburcu 2023-05-12 20:48:31 +01:00
dns Get the tests working with liburcu 2023-05-12 20:48:31 +01:00
include/tests Always initialize the workers in the libtest 2023-04-21 09:04:24 +02:00
irs Move irs_resconf into libdns and remove libirs 2023-02-24 09:38:59 +00:00
isc Adjust the udp_shutdown_connect to delay the check 2023-05-12 14:16:25 +02:00
isccfg Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
libtest Fixes for liburcu-qsbr 2023-05-15 20:49:42 +00:00
ns Avoid lossage from <stdnoreturn.h> 2023-05-11 10:40:56 +00:00
.gitignore Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
Makefile.am Build libtest even if CMOCKA is not available 2023-03-29 02:29:18 +00:00
unit-test-driver.sh.in Use SIGABRT rather than SIGKILL for long running unit test 2023-04-14 15:40:02 +10:00