EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: callocMustSucceed error handling model
From: Benjamin Franksen <[email protected]>
To: [email protected]
Date: Wed, 1 Feb 2006 13:21:41 +0100
On Wednesday 01 February 2006 00:33, Jeff Hill wrote:
> > One could argue that the same reasoning applies to all other kinds
> > of start-up code that gets executed more or less immediately after
> > IOC boot, e.g. in record and device supports init and init_record
> > routines.
> > An out-of-memory situation here invariably means the IOC is
> > overloaded
> > and obviously /cannot/ run as the developer planned.
>
> An alternative perspective is that this error handling model can be
> an obstacle in the path of implementing on line add and delete
> capabilities for the IOC. For example, its probably not great for the
> IOC to fail if someone does an online add and we hit a resource
> consumption limit. 

Right. I withdraw my recommendation to use xxxMustSucceed in init 
routines. Let's hope we /will/ get online add/delete, eventually...

Ben

References:
RE: callocMustSucceed error handling model Jeff Hill

Navigate by Date:
Prev: Hytec 8601 Quad Stepper Motor IP Card - EPICS Driver Available Darrell Nineham
Next: striptool channel names Ian A Smith
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: callocMustSucceed error handling model Jeff Hill
Next: how to determine record type given pointer to a record John Dobbins
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·