From: Philippe Gerum <rpm@xenomai.org>
To: Wolfgang Grandegger <wg@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Thread policy and priority in secondary mode
Date: Wed, 23 Jul 2008 14:25:02 +0200 [thread overview]
Message-ID: <4887231E.8050503@domain.hid> (raw)
In-Reply-To: <4887020A.9060700@domain.hid>
Wolfgang Grandegger wrote:
> Hello,
>
> when a Xenomai POSIX thread switches to secondary mode, how can I define
> the policy and priority under which it should run under the Linux
> scheduler, especially, with SCHED_FIFO.
>
> The Xenomai POSIX API function pthread_setschedparam() described in
>
> http://www.xenomai.org/documentation/trunk/html/api/group__posix__sched.html#g95276f88e1a2cae7a37f792123a99144
>
> does switch the thread to primary mode when the SCHED_FIFO policy is
> specified and therefore cannot be use for the secondary mode.
>
__real_pthread_setschedparam(). Note: this will propagate the priority to the
underlying Xenomai thread as well.
> Wolfgang.
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
>
--
Philippe.
next prev parent reply other threads:[~2008-07-23 12:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-23 10:03 [Xenomai-help] Thread policy and priority in secondary mode Wolfgang Grandegger
2008-07-23 12:25 ` Philippe Gerum [this message]
[not found] <5D63919D95F87E4D9D34FF7748CE2C2A0137F4FC@ARVMAIL1.mra.roland-man.biz>
2008-07-23 14:26 ` Philippe Gerum
-- strict thread matches above, loose matches on Subject: below --
2008-07-25 7:40 roderik.wildenburg
2008-07-25 8:09 ` Wolfgang Grandegger
2008-07-25 9:19 ` Philippe Gerum
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=4887231E.8050503@domain.hid \
--to=rpm@xenomai.org \
--cc=wg@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.