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: Stand-alone sequencer programs
From: Ben Franksen <[email protected]>
To: EPICS Techtalk <[email protected]>
Date: Mon, 15 Nov 2010 20:22:39 +0100
On Montag, 15. November 2010, Ben Franksen wrote:
> On Montag, 15. November 2010, Andrew Johnson wrote:
> > While you're making sequencer changes, [...]

...would anyone be sad if I removed the -s switch for stand-alone 
sequencer programs (i.e. those which which have been compiled 
with 'snc -m' and thus contain a main function) and instead always 
start them with an iocsh?

The problem is that it is easy to forget the -s switch which leaves you 
with a program that cannot be interrupted other than with a kill -9 
(SIG_TERM). This is just annoying and I don't see a compelling use 
case.

A compromise would be to just reverse the default, so you'd need an 
extra switch to say 'no ioc shell'.

Cheers
Ben
-- 
"Never confuse what is natural with what is habitual."
                                   -- attributed to Mahatma Gandhi

Replies:
Re: Stand-alone sequencer programs Andrew Johnson

Navigate by Date:
Prev: Re: Last chance to save the sequencer's pv layer Ben Franksen
Next: Re: Stand-alone sequencer programs Andrew Johnson
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: asyn driver on Windows XP Mark Rivers
Next: Re: Stand-alone sequencer programs Andrew Johnson
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, 16 Nov 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·