I have now dropped the workaround for missing PTHREAD_MUTEX_RECURSIVE in pre 2001 Posix.
Falling back from PTHREAD_PRIO_INHERIT to PTHREAD_PRIO_NONE is still supported of course. Line 60 pthread_mutexattr_settype() will fail but that will simply result in a default mutex attribute and an error message (if errVerbose is set).
Setting PTHREAD_MUTEX_RECURSIVE in line 70 must not fail. That should not be a problem, even for rr or other special systems.
The only new external function is now called osdPosixMutexInit (not starting with "epics") and is in the private header file osdPosixMutexPriv.h which does not get installed. It is used inside libCom only.
I am not yet happy with the test. I need to find out how to use testSkip() properly when SCHED_FIFO is not available or the prority range is too limited.
There seems to be no TESTPROD_HOST_Posix (instead of TESTPROD_HOST_Linux) to run the test on all posix architectures. How to do that in the Makefile?
--
https://code.launchpad.net/~dirk.zimoch/epics-base/+git/epics-base/+merge/394327
Your team EPICS Core Developers is subscribed to branch epics-base:7.0.
- References:
- [Merge] ~dirk.zimoch/epics-base:epicsMutexPriorityInheritance into epics-base:7.0 Dirk Zimoch via Core-talk
- Navigate by Date:
- Prev:
epics-base-7.0-win64-test - Build # 237 - Unstable! APS Jenkins via Core-talk
- Next:
epics-base-7.0-win64-test - Build # 238 - Still Unstable! APS Jenkins via Core-talk
- Index:
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: [Merge] ~dirk.zimoch/epics-base:epicsMutexPriorityInheritance into epics-base:7.0 Dirk Zimoch via Core-talk
- Next:
Re: [Merge] ~dirk.zimoch/epics-base:epicsMutexPriorityInheritance into epics-base:7.0 Dirk Zimoch via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024
|