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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Orderly IOC shutdown? |
From: | Michael Abbott <[email protected]> |
To: | [email protected] |
Cc: | Andrew Johnson <[email protected]> |
Date: | Tue, 27 Feb 2007 07:25:00 +0000 (GMT) |
You can use the epicsAtExit() facility to get callbacks when shutdown is occurring, but the current state of the other threads when this happens is not well-defined, meaning your I/O thread may be active at the time and there's nothing we can do about that.
I hope you've heard of the GNU Screens program
(1) wait for external event (2) wait for bo record above to process (3) update underlying data for r1 to rn (4) signal bi record (scanIoRequest)