All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] rt_task_delete trouble
Date: Fri, 11 Mar 2011 09:58:37 +0100	[thread overview]
Message-ID: <4D79E43D.2040807@domain.hid> (raw)
In-Reply-To: <4D79E28B.3090004@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 468 bytes --]

On 2011-03-11 09:51, Gilles Chanteperdrix wrote:
> 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 ?
> 

Given how often users make this mistake, should we enable the watchdog
by default?

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]

  reply	other threads:[~2011-03-11  8:58 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 [this message]
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
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=4D79E43D.2040807@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=gilles.chanteperdrix@xenomai.org \
    --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.