EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: close_record ?
From: Andrew Johnson <[email protected]>
To: Amy Baum <[email protected]>
Cc: [email protected]
Date: Tue, 18 Nov 2003 19:58:53 -0600
Amy Baum wrote:

I'm wondering about a routine that gets called when the IOC is exiting - when the record is destroyed.

Ah, now I see - you're probably talking about a soft IOC running on Windows, Linux or Solaris (on vxWorks your question doesn't make much sense, which is why Noboru and I were confused to begin with). The IOC code wasn't really written with closedown in mind because it was originally aimed at long-running vxWorks systems, so there's nothing quite like what you're after built into it.


However, there's no reason why code intended for host-based IOCs can't register its own exit handler using the standard OS atexit() method, although you can't rely on the order in which this is run related to tasks being closed down etc.

HTH,

- Andrew
--
There are 10 types of people in the world:
Those who understand binary, and those who don't.


References:
Re: close_record ? Amy Baum

Navigate by Date:
Prev: Re: close_record ? Amy Baum
Next: RE: sequencer SEGV Benjamin Sailer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  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: close_record ? Amy Baum
Next: help! problems making in WIN32 Eugene Tan
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·