All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Felipe Castro <felipecpc1@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] High CPU Load
Date: Fri, 25 Sep 2009 21:56:16 +0200	[thread overview]
Message-ID: <4ABD2060.1010102@domain.hid> (raw)
In-Reply-To: <7a15153d0909251252r5ba268e1n885e3a6155b5212@domain.hid>

Felipe Castro wrote:
> Well , that is what i thought but i need to stop the software otherwise my
> tasks will be deleted .... That's the why i put this infinite loop .... how
> can i do to keep my tasks running ?

	for(;;)
		pause();

For instance. Or:

	while (!finished)
		pause();

finished being a variable set to a non zero value by some signal handler.

-- 
					    Gilles.


  reply	other threads:[~2009-09-25 19:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-25 19:27 [Xenomai-help] High CPU Load Felipe Castro
2009-09-25 19:36 ` Gilles Chanteperdrix
2009-09-25 19:52   ` Felipe Castro
2009-09-25 19:56     ` Gilles Chanteperdrix [this message]
2009-09-25 19:58     ` Wolfgang Grandegger

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=4ABD2060.1010102@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=felipecpc1@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.