EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: POSIX signals in Epics
From: "Pearson, MR (Matthew)" <[email protected]>
To: <[email protected]>
Date: Fri, 10 Jul 2009 10:22:35 +0100
Hi,

What is the recommended way to install POSIX signal handlers in Epics?
What I want to do is handle SIGINT and SIGTERM signals, and to perform
some shutdown tasks before the process terminates. Is there is an Epics
OSI method I can use? Otherwise I will just use the normal POSIX
methods.

This is for a linux device driver. It's unlikely that the driver will be
portable to other platforms (because it relies on a manufacturer Linux
only SDK). So I'm only asking for good-practice reasons, rather than
portability reasons.

Cheers,
Matthew

DLS Controls

 


-- 
Scanned by iCritical.


Replies:
Re: POSIX signals in Epics Andrew Johnson

Navigate by Date:
Prev: Re: Access to IO registers from user-space in recent Linux versions J. Lewis Muir
Next: Re: POSIX signals in Epics Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Access to IO registers from user-space in recent Linux versions J. Lewis Muir
Next: Re: POSIX signals in Epics Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·