"Gilles Chanteperdrix" <[EMAIL PROTECTED]> schrieb am 
07.04.2008 14:47:05:

> Forget it, it will not work. What you are trying to do can not work as
> long as Xenomai and Linux are two distinct schedulers: Xenomai tasks
> running in secondary mode are suspended from Xenomai scheduler point
> of view, so, you can yield as much as you want, this will never let
> them run.

But the behaviour is still the same, when i put a

         pthread_set_mode_np(PTHREAD_PRIMARY, 0); 

in the thread function. Thereafter, only the xenomai-scheduler is 
responsible for the threads running in primary mode, or am i completely 
wrong?


Thomas Wiedemann

Entwicklungsingenieur / Funktionsentwicklung (EF-F33), Fahrzeug Elektronik

IAV GmbH 
Ingenieurgesellschaft Auto und Verkehr
Kauffahrtei 45
09120 Chemnitz
Germany

Telefon:   +49  (371) 2373-4045
Fax:          +49  (371) 2373-4112

Email: <mailto:[EMAIL PROTECTED]>
Internet: http://www.iav.de


IAV GmbH
Sitz/Registered Office: Berlin
Registergericht/Registration Court: Amtsgericht Charlottenburg
Registernummer/Company Registration Number: HRB 21 280
Geschäftsführer/Managing Directors: Kurt Blumenröder, Michael Schubert
 

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to