Commit 5b99a612 authored by Philippe Gerum's avatar Philippe Gerum Committed by Jan Kiszka

demo/posix: cyclictest: prevent spurious WARNSW events on exit

Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <>
Signed-off-by: Jan Kiszka's avatarJan Kiszka <>
parent 94857959
...@@ -989,6 +989,10 @@ void *timerthread(void *param) ...@@ -989,6 +989,10 @@ void *timerthread(void *param)
} }
out: out:
if (pthread_setmode_np(PTHREAD_WARNSW, 0, NULL))
if (par->mode == MODE_CYCLIC) if (par->mode == MODE_CYCLIC)
timer_delete(timer); timer_delete(timer);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment