Use TLS variables to store RNG state, make RNG lockless
This commit is contained in:
@@ -277,13 +277,13 @@ ns_test_begin(FILE *logfile, bool start_managers) {
|
||||
|
||||
void
|
||||
ns_test_end(void) {
|
||||
cleanup_managers();
|
||||
|
||||
if (dst_active) {
|
||||
dst_lib_destroy();
|
||||
dst_active = false;
|
||||
}
|
||||
|
||||
cleanup_managers();
|
||||
|
||||
if (lctx != NULL)
|
||||
isc_log_destroy(&lctx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user