I should have mentioned it, but we need to use R3.14.8.2 for the moment.
I also remembered something on the exploder, but couldn't find it before
my first post. I think I have just found it
(http://www.aps.anl.gov/epics/tech-talk/2008/msg00451.php) and Andrew
says "Once epicsThreadExitMain() has been used the proper way to
actually close an IOC down is for one of the remaining threads to call
epicsExit(), which shuts down the other threads and calls exit()." He
suggests loading softIocExit.db and doing a caput to its $(IOC):exit PV.
So that is another option. I still like the idea of a call pending on a
semaphore until a signal arrives. It avoids the confusion surrounding
softIocs apparently being zombies, when they are actually running
perfectly happily. I feel Linux processes should terminate when sent a
SIGTERM, and softIoc's without a shell don't seem to (but maybe that's
fixed now with the recent changes to the signal handling).
Cheers
Nick Rees
Principal Software Engineer Phone: +44 (0)1235-778430
Diamond Light Source Fax: +44 (0)1235-446713
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
- References:
- Killing a soft IOC which doesn't have an interactive shell Rees, Nick (DLSLtd,RAL,DIA)
- RE: Killing a soft IOC which doesn't have an interactive shell Mark Rivers
- Navigate by Date:
- Prev:
Re: Access security problem Martin L. Smith
- Next:
Re: sequencer feature request Dirk Zimoch
- 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
- Navigate by Thread:
- Prev:
RE: Killing a soft IOC which doesn't have an interactive shell Mark Rivers
- Next:
Re: Access security problem GOURNAY Jean-Francois
- 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
|