Hi Gilles, > fault_vm is safe to use only if you are calling fork at a time when > there is only one thread. So, if your application is forking at init, it > should be OK. Do you mean there must be only one real time thread? That means, when I have an application that creates multiple real time threads, I can not rely on fault_vm() ? In this case I have to do the "hard" way by using a different (non real time) context to do the forks and system() calls. As this is hard to understand, I strongly recommend that there is Xenomai support for this! I.e. a Xenomai API that can be called with a (callback-)function pointer and a user data pointer. When a (realtime) thread calls this function, the real time thread is blocked. The callback function is then called from a safe context and after exit of the callback function the real time thread is resumed.
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
