All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jochen Behnke <JK.Behnke@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-help] system() call allowed from within RT task ?
Date: Tue, 15 Apr 2008 14:26:28 +0200	[thread overview]
Message-ID: <1071035914@domain.hid> (raw)

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.

I'm using 
- Linux Kernel 2.6.17 (I-PIPE 1.5-02)
- Xenomai 2.3.0
- Celeron 600MHz System


Regards

Jochen
_________________________________________________________________________
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! 
Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114



             reply	other threads:[~2008-04-15 12:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-15 12:26 Jochen Behnke [this message]
2008-04-15 17:02 ` [Xenomai-help] system() call allowed from within RT task ? Gilles Chanteperdrix
  -- strict thread matches above, loose matches on Subject: below --
2008-04-15 19:17 Jochen Behnke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1071035914@domain.hid \
    --to=jk.behnke@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.