From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: johann.obermayr@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] rt_task_delete trouble
Date: Fri, 11 Mar 2011 10:56:05 +0100 [thread overview]
Message-ID: <4D79F1B5.5000906@domain.hid> (raw)
In-Reply-To: <4D79F0ED.6080101@domain.hid>
Johann Obermayr wrote:
> Am 11.03.2011 09:51, schrieb Gilles Chanteperdrix:
>> Johann Obermayr wrote:
>>> void task_waiter_do(void *data)
>>> {
>>> rt_printf("task_waiter_do started\n");
>>> while(task_waiter_flag == 0)
>>> ; // rt_task_sleep( DELAYMS(1) );
>>> rt_printf("task_waiter_do finished\n");
>>> }
>> What happens if you uncomment the rt_task_sleep here ?
> we have some shared code from another RT OS.
> And in this code there are some while(hw_state) ; loops.
I just ask you to uncomment this line and run the test to see if it
changes anything. We are in the process of trying and understanding the
issue here... not fixing anything yet.
But from a general point of vieuw, code with unbounded busy waits with
Xenomai will not fly for other reasons.
--
Gilles.
next prev parent reply other threads:[~2011-03-11 9:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-11 8:28 [Xenomai-help] rt_task_delete trouble Johann Obermayr
2011-03-11 8:51 ` Gilles Chanteperdrix
2011-03-11 8:58 ` Jan Kiszka
2011-03-11 9:06 ` Gilles Chanteperdrix
2011-03-11 9:59 ` Johann Obermayr
2011-03-11 9:52 ` Johann Obermayr
2011-03-11 9:56 ` Gilles Chanteperdrix [this message]
2011-03-11 13:13 ` Gilles Chanteperdrix
2011-03-11 10:59 ` Johann Obermayr
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=4D79F1B5.5000906@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=johann.obermayr@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.