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 | 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 |
<== 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