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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Orderly IOC shutdown? |
From: | Andrew Johnson <[email protected]> |
To: | Michael Abbott <[email protected]> |
Cc: | [email protected] |
Date: | Mon, 26 Feb 2007 13:18:17 -0600 |
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.
- Andrew -- The right to be heard does not automatically include the right to be taken seriously. -- Hubert H. Humphrey