mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-29 18:09:11 -04:00
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:
parent
2e0c954806
commit
cd0795beea
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ thread_wrap(isc_threadfunc_t func, void *arg) {
|
|||
.func = func,
|
||||
.arg = arg,
|
||||
};
|
||||
|
||||
__tsan_release(wrap);
|
||||
return (wrap);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue