From: Wolfgang Grandegger <wg@domain.hid>
To: xenomai-help <xenomai@xenomai.org>
Subject: [Xenomai-help] Thread policy and priority in secondary mode
Date: Wed, 23 Jul 2008 12:03:54 +0200 [thread overview]
Message-ID: <4887020A.9060700@domain.hid> (raw)
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.
Wolfgang.
next reply other threads:[~2008-07-23 10:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-23 10:03 Wolfgang Grandegger [this message]
2008-07-23 12:25 ` [Xenomai-help] Thread policy and priority in secondary mode Philippe Gerum
[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=4887020A.9060700@domain.hid \
--to=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.