Skip to contentSkip to conversation

system() call allowed from within RT task ?

Xenomai-help Jochen Behnke 1 participant 1 message Apr 15, 2008

lore
Share & tools
lore
#0 lore raw
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 between Task_A and normal linux tasks. Task_B uses the system()-call to accomplish certain requests.
I have set the T_WARNSW for Task_A in order to get a SIGXCPU, whenever it switches to secondary mode. As long as Task_B is not executing a sytem() call, everything is fine. But when for example Task_B executes a system("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