mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 02:53:55 +00:00
tests: silence TSAN warning on test_seqlock exit
TSAN warns about leaving the second thread dangling. Doesn't really matter, but just add a pthread_join to get rid of the warning. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
1f67dfb143
commit
4836ac0714
@ -111,4 +111,5 @@ int main(int argc, char **argv)
|
||||
writestr("main @release\n");
|
||||
seqlock_release(&sqlo);
|
||||
sleep(1);
|
||||
pthread_join(thr1, NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user