Experimental Physics and Industrial Control System
|
|
On 6/26/26 10:30 AM, Érico Nogueira
Rolim via Tech-talk wrote:
Any
thoughts or updates on Linux signalling for EPICS from the
devs?
I don't think there have been any updates, but I remember there
were implementation suggestions for my idea. For epics-base, it
would consist of launching a thread listening on an epicsEvent,
which, when signaled, would call epicsExit. For a module with
platform specific code, it would consist of registering signal
handlers (possibly automatically or via iocsh commands) and
having those signal the previously mentioned epicsEvent.
If you're keen on getting your hands a little dirty, how about
we collaborate on moving this forward? Maybe start implementing
the epics-base interface so we can check its suitability for the
support module?
As far as APIs. If epicsAtExit() is not enough, or if the
ordering gets too complex, I would suggest looking at the
"de-init" hooks. See "initHookAtShutdown" in initHooks.h .
also fyi. https://github.com/epics-base/epics-base/pull/673
|
- References:
- RFC: add a mechanism to call epicsExit when signals are received Timothy Speight - STFC UKRI via Tech-talk
- Re: RFC: add a mechanism to call epicsExit when signals are received Érico Nogueira Rolim via Tech-talk
- Navigate by Date:
- Prev:
Re: EPICS support for Fastech motors Mark Rivers via Tech-talk
- Next:
Re: EPICS thread on Marana problem Wlodek, Jakub via Tech-talk
- 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
2025
<2026>
- Navigate by Thread:
- Prev:
Re: RFC: add a mechanism to call epicsExit when signals are received Érico Nogueira Rolim via Tech-talk
- Next:
Question About Calculating Checksum in a StreamDevice Protocol Huishan via Tech-talk
- 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
2025
<2026>
|
|
ANJ, 28 Jun 2026 |
·
Home
·
News
·
About
·
Talk
·
Base
·
Modules
·
Extensions
·
·
Distributions
·
Download
·
Documents
·
Links
·
Licensing
·
|