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 <rpm@xenomai.org>
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 94857959
......@@ -989,6 +989,10 @@ void *timerthread(void *param)
}
out:
#ifdef CONFIG_XENO_COBALT
if (pthread_setmode_np(PTHREAD_WARNSW, 0, NULL))
fatal("pthread_setmode_np()");
#endif
if (par->mode == MODE_CYCLIC)
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