From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4887231E.8050503@domain.hid> Date: Wed, 23 Jul 2008 14:25:02 +0200 From: Philippe Gerum MIME-Version: 1.0 References: <4887020A.9060700@domain.hid> In-Reply-To: <4887020A.9060700@domain.hid> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] Thread policy and priority in secondary mode Reply-To: rpm@xenomai.org List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wolfgang Grandegger Cc: xenomai-help 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.