EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: softIOC and SIGHUP
From: Eric Norum <[email protected]>
To: Mark Rivers <[email protected]>
Cc: Dmitry Teytelman <[email protected]>, "[email protected] tech-talk" <[email protected]>
Date: Mon, 20 Sep 2010 10:31:51 -0700
I have a vague recollection that we did something with signal disposition to be able to coexist with some equipment vendor libraries.   As I recall it was for some image acquisition/processing hardware that Mark Rivers was using.
Mark -- does this sound familiar to you?



On 17.09.2010 18:53, Dmitry Teytelman wrote:
> Hello all,
> 
> Hello,
> 
> I am running into a puzzling problem with a softIOC on Linux. The IOC
> is running on fairly standard x86 PC hardware under a custom Linux
> distribution (buildroot/busybox/uclibc/base-3.14.11). The IOC is
> normally started with /usr/bin/nohup, so that one can ssh to the unit,
> restart the IOC and disconnect. This worked very well until I've
> transitioned from older linuxthreads to NPTL. Now the IOC dies when it
> gets SIGHUP, even when started under nohup.
> 
> A bit of digging showed that the IOC installs a handler and unblocks
> SIGHUP when it calls epicsSignalInstallSigHupIgnore() during iocInit.
> It seems to me it might be better to check first if SIGHUP is ignored
> and only modify settings if it isn't.
> 

-- 
Eric Norum
[email protected]






Replies:
RE: softIOC and SIGHUP Mark Rivers
References:
softIOC and SIGHUP Dmitry Teytelman
Re: softIOC and SIGHUP Ralph Lange

Navigate by Date:
Prev: Re: o.c.swt.widgets: ... Andrew Johnson
Next: RE: softIOC and SIGHUP Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: softIOC and SIGHUP Ralph Lange
Next: RE: softIOC and SIGHUP Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·