From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4887020A.9060700@domain.hid> Date: Wed, 23 Jul 2008 12:03:54 +0200 From: Wolfgang Grandegger MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Xenomai-help] Thread policy and priority in secondary mode List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai-help 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.