Slightly more sanitary thread dispatch

Tell thread sanitizer that the thread wrapper is released before
passing it to a new thread.
This commit is contained in:
Tony Finch
2023-05-03 15:44:36 +01:00
parent 2e0c954806
commit cd0795beea

View File

@@ -61,7 +61,7 @@ thread_wrap(isc_threadfunc_t func, void *arg) {
.func = func,
.arg = arg,
};
__tsan_release(wrap);
return (wrap);
}