EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  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  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Orderly IOC shutdown?
From: Michael Abbott <[email protected]>
To: [email protected]
Date: Mon, 26 Feb 2007 16:44:29 +0000 (GMT)
Is there any way to request the orderly shutdown of an IOC, waiting for all IOC threads to terminate (I'm guessing not).

I have a lot of resources open which I would like to close cleanly: but if IOC threads are still running then I have to synchronise with them to ensure closed resources aren't used by calls from IOC threads.

Am I better off just pulling the plug, leaving everything running and relying on exit to do the right thing?

I can (and do) shut my own threads down in an orderly fashion, but the IOC threads seem to be out of reach.

I'm running an EPICS 3.14 IOC as a Linux process, using iocsh(filename) to load databases and get things rolling, and then running as a daemon the rest of the time.
Replies:
Re: Orderly IOC shutdown? Andrew Johnson

Navigate by Date:
Prev: RE: MODBUS communication with H2-ECOM100 AuotmationDirect DL205 system? Elder Matias
Next: Re: Orderly IOC shutdown? Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: asynDriver, problem with asynInt32Array read routine Mark Rivers
Next: Re: Orderly IOC shutdown? Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·