mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02: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 a new issue