2002 2003 2004 <2005> 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 2002 2003 2004 <2005> 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: priorities |
From: | Marty Kraimer <[email protected]> |
To: | [email protected] |
Date: | Mon, 21 Nov 2005 14:16:55 -0600 |
Jeff Hill wrote:
1) On linux you must be running as root in order to be able to set SCHED_FIFO. The code is written to silently revert to non-priority scheduling if EPERM is returned.I am curious. Is it possible to specify scheduling priorities for threads, even if process global strict FIFO scheduling of isn't permissible? It is a very good idea I think to have some sort of prioritized scheduling for the threads even if it isn't perfect. I know that UNIX can prioritize time slicing of processes, but perhaps this can't yet be applied to individual threads?
pthread priority scheduling does not guarantee very much. I don't see any easy OSI way to guarantee anything about scheduling. Marty