Experimental Physics and Industrial Control System
|
Are you suggesting that we require priority-based queueing for multiple readers? At the moment the appDevGuide does not specify this requirement, though as you point out, non-priority queueing can lead to priority inversion. The current vxWorks and RTEMS implementations provide FIFO queueing but it would be a one-word change to get them provide priority queueing. Not sure about windows, but since priority inversion is a major issue only for systems with strict priority-based scheduling I'm not sure that it's that big a deal there anyhow.
Removing the thread wakeup FIFO and sharing the wakeup event is essential for correct scheduling behaviour otherwise a low priority thread can block a high priority thread on a message queue read even with priority inheritance enabled. EpicsEvent will also need patching to enable PTHREAD_PRIO_INHERIT, the code is present in EpicsMutex but EpicsEvent initializes a pthread_mutex directly. I'll nominate this as a job for the codeathon.
|
- Replies:
- RE: epicsEvent (posix implementation) bug ? Jeff Hill
- RE: epicsEvent (posix implementation) bug ? james.rowland
- References:
- epicsEvent (posix implementation) bug ? Till Straumann
- RE: epicsEvent (posix implementation) bug ? james.rowland
- Navigate by Date:
- Prev:
Re: epicsEvent (posix implementation) bug ? Till Straumann
- Next:
RE: ca_create_subscription element count Jeff Hill
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
<2011>
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: epicsEvent (posix implementation) bug ? Till Straumann
- Next:
RE: epicsEvent (posix implementation) bug ? Jeff Hill
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
<2011>
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|
ANJ, 18 Nov 2013 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|