EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: asyn Array interrupts
From: Heinrich du Toit <[email protected]>
To: TechTalk EPICS <[email protected]>
Date: Fri, 05 Oct 2007 08:05:13 +0200
OK so I have a driver which triggers an interrupt for asynInt32Array.

I need to supply an buffer of epicsInt32[] to the interrupt callback.

Question:
Does the driver keep track of this buffer and free it at some stage?
If so when?

Or is the buffer given to the record and should the record dispose of
the buffer with a free() call when it is finished with it?

I think this is important because if I get it wrong I either get a
segfault or a memory leak :)

-Heinrich


Replies:
RE: asyn Array interrupts Mark Rivers

Navigate by Date:
Prev: RE: Using Asyn driver or modifying devLib (or related programs) of EPICSbase for any knid of cPCI cards Jenny Chen
Next: longout record reading? Heinrich du Toit
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Strict Monotonic Breaktable checks Eric Norum
Next: RE: asyn Array interrupts Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·