Experimental Physics and Industrial Control System
Hi,
I have pushed my spinlocks branch onto Launchpad at
https://code.launchpad.net/~epics-core/epics-base/spinlocks
This has two variants of posix implementations (pthread_spin if
available, else pthread_mutex), one for vxWorks/single CPU (intLock),
and a default implementation (epicsMutex).
I added test code (based on the tests for epicsMutex), and tested both
posix variants and the default implementation on my Linux box.
On this machine, I found the posix spinlock implementation working about
twice as fast as the posix mutex.
Please test and verify on other platforms
(RTEMS/vxWorks/Windows/Solaris/OSX) if you have a chance.
Thanks a lot!
~Ralph
- Replies:
- Re: RFC: libCom/osi - new spinlock API Andrew Johnson
- References:
- RFC: libCom/osi - new spinlock API Ralph Lange
- Re: RFC: libCom/osi - new spinlock API Ralph Lange
- RE: RFC: libCom/osi - new spinlock API nick.rees
- Re: RFC: libCom/osi - new spinlock API Andrew Johnson
- Navigate by Date:
- Prev:
Re: RFC: libCom/osi - new spinlock API Andrew Johnson
- Next:
[Merge] lp:~epics-core/epics-base/spinlocks into lp:epics-base Ralph Lange
- 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: RFC: libCom/osi - new spinlock API Andrew Johnson
- Next:
Re: RFC: libCom/osi - new spinlock API Andrew Johnson
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024