From: Philippe Gerum <rpm@xenomai.org>
To: Peter Soetens <peter.soetens@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Is rt_task_set_mode( T_PRIMARY, 0, 0 ) temporary ?
Date: Mon, 14 Jan 2008 21:43:53 +0100 [thread overview]
Message-ID: <478BC989.6020103@domain.hid> (raw)
In-Reply-To: <200801141627.32289.peter.soetens@domain.hid>
Peter Soetens wrote:
> Hi,
>
> Is it possible that this call only clears the T_PRIMARY flag temporary, and
> that after 'some' rt_ call, the flag is set again ?
>
Any potentially blocking rt-syscall for instance, occurring between
rt_task_set_mode() and rt_task_inquire(), would indeed switch the thread
back to primary, clearing the XNRELAX bit from the status.
> I tried to check this with rt_task_inquire( task, &info ) and check
> info.status & XNRELAX but that always returned false.
>
> Peter
next prev parent reply other threads:[~2008-01-14 20:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-14 15:27 [Xenomai-help] Is rt_task_set_mode( T_PRIMARY, 0, 0 ) temporary ? Peter Soetens
2008-01-14 20:43 ` Philippe Gerum [this message]
2008-01-15 9:24 ` Peter Soetens
2008-01-15 10:06 ` Gilles Chanteperdrix
2008-01-15 10:22 ` Gilles Chanteperdrix
2008-01-15 10:23 ` Gilles Chanteperdrix
2008-01-15 12:34 ` Peter Soetens
2008-01-15 13:05 ` Gilles Chanteperdrix
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=478BC989.6020103@domain.hid \
--to=rpm@xenomai.org \
--cc=peter.soetens@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.