Experimental Physics and Industrial Control System
|
|
On 11/12/25 5:36 PM, Michael Davidsaver
wrote:
It thus
appears to me that if the requested delay is less than
epicsThreadSleepQuantum() then callbackRequestDelayed
returns immediately. Is that true?
The epicsTimer code is a little hard to follow, but I think
yes. More precisely, the timer is queued with a delay of 0, so
it expires as soon as the worker thread wakes up.
Right, I was not remembering, or reading far enough down. I did
this test in a related context. By scanning through ODLY of a
calcout record, which also uses callbackRequestDelayed() .
... the effective count/scan rate is
always high, and "saturates" somewhere between 150 and 200Hz.
Which is to say, when the delay goes below quantum/2 .
https://github.com/epics-base/epics-base/issues/106#issuecomment-1260232765
|
- References:
- RE: callbackRequestDelayed question Mark Rivers via Core-talk
- Re: callbackRequestDelayed question Michael Davidsaver via Core-talk
- RE: callbackRequestDelayed question Mark Rivers via Core-talk
- Re: callbackRequestDelayed question Michael Davidsaver via Core-talk
- RE: callbackRequestDelayed question Mark Rivers via Core-talk
- Re: callbackRequestDelayed question Michael Davidsaver via Core-talk
- Navigate by Date:
- Prev:
Re: callbackRequestDelayed question Michael Davidsaver via Core-talk
- Next:
Build failed: EPICS Base 7 base-7.0-1958 AppVeyor 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
<2025>
2026
- Navigate by Thread:
- Prev:
Re: callbackRequestDelayed question Michael Davidsaver via Core-talk
- Next:
Re: callbackRequestDelayed question Michael Davidsaver 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
<2025>
2026
|
|
ANJ, 20 Nov 2025 |
·
Home
·
News
·
About
·
Talk
·
Base
·
Modules
·
Extensions
·
·
Distributions
·
Download
·
Documents
·
Links
·
Licensing
·
|