On Sat, 2009-08-15 at 15:14 +0200, Waschk,Kolja wrote: > Hi, > > well my guess was correct, the quickly increasing MSW without SIGXCPU was just > due to a forced mode switch with rt_task_set_mode... how silly, sorry for > bothering!
No problem. I'm rather concerned by the fact that rt_task_set_mode(...T_PRIMARY...) is still being used for the wrong purpose, but this bug is mine originally. The point is that there should be no valid reason to switch modes explicitly in any user level code, Xenomai knows better in any case, and only does it internally when required. Explicit switching is currently required by a few skin libraries for internal purpose, I should have exported some hidden syscall to provide this anti-feature, instead of crippling the rt_task_set_mode() interface with the wacky T_PRIMARY mode bit. Anyway... The xnshadow_relax() issue on Blackfin led to use it the wrong way as a workaround; please report this kind of bug before applying any workaround, so that a proper fix could be found in parallel. TIA, > > Kolja > > -- Philippe. _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
