Hello Philippe, > The important issue to check is the above one. Please try calling > rt_task_delete(NULL), and in a second test, rt_task_suspend(NULL), > instead of letting the thread routine return. TIA, O.K, here are the results: I have placed rt_task_delete() at all possible positions in realtimetask(). The system freezes when I place rt_task_delete() after the printf() statement. At all other positions (after system(), after rt_task_sleep()) the system does not freeze. I get the very same results when I use rt_task_suspend() instead of rt_task_delete().
It means, that the printf() call causes the freeze. Regards Mathias -- Mathias Koehrer [EMAIL PROTECTED] Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer, nur 44,85 inkl. DSL- und ISDN-Grundgebühr! http://www.arcor.de/rd/emf-dsl-2 _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
