system() call allowed from within RT task ?
Quoted 7 lines
-----Ursprüngliche Nachricht-----
Von: "Gilles Chanteperdrix" <[email protected]>
Gesendet: 15.04.08 19:02:58
An: Jochen Behnke <[email protected]>
CC: [email protected]
Betreff: Re: [Xenomai-help]system()call allowed from within RT task ?
Hello Gilles,
thanks four your quick response.
Which I-pipe/Xenomai version would you recommend ? (probably the latest )
Regards
Jochen
Quoted 17 lines
Quoted 15 lines · Jochen Behnke
Hello,
within my application I use
system()calls from within a xenomai task. Is this allowed ?The reason I'm asking this, is the following:
In my application I have multiple xenomai tasks. One of them is time critical (Task_A). An other (non time critical) xenomai task (Task_B) is used to pass data back and forth betweenTask_Aand normal linux tasks.Task_Buses the system()-call to accomplish certain requests.
I have set theT_WARNSWforTask_Ain order to get a SIGXCPU, whenever it switches to secondary mode. As long asTask_Bis not executing asytem()call, everything is fine. But when for exampleTask_Bexecutes asystem("cp -R dirA dirB")the application terminates due to a SIGXCPU signal.
Quoted 13 lines
Quoted 2 lines
I'm using
- Linux Kernel 2.6.17 (I-PIPE 1.5-02)I-pipe 1.5-02 is too old. only more recent I-pipe patches have the necessary support to allow real-time applications to call fork (or system).
Signature · 1 line
Gilles.
_____________________________________________________________________
Unbegrenzter Speicherplatz für Ihr E-Mail Postfach? Jetzt aktivieren!
http://freemail.web.de/club/landingpage.htm/?mc=025555