EPICS Home

Experimental Physics and Industrial Control System


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

Subject: Re: Problem in errlogRemoveListener
From: Benjamin Franksen <[email protected]>
To: <[email protected]>
Date: Fri, 21 Jun 2013 11:37:37 +0200
On Friday, June 21, 2013 11:18:07 Benjamin Franksen wrote:
> The errlog facility provides errlogAddListener, and errlogRemoveListener.
> Unfortunately, the latter is broken, as there is no way to specify the
> listener's private data. So if I have two listeners which differ only in
> their private data (such as when using two instances of feller), then I can
> only remove them all at once, not each one separately.
>
> The attached patch file rectifies that by adding an
> errlogRemoveSingleListener function to the API that allows to remove single
> instances.

In the meantime, I wonder how to proceed with the feller module. I think I
should (temporarily) remove the API function fellerDestroy and replace it with
a

	void fellerDestroyAll(void)

that de-registers and destroys all feller instances at once.

Better ideas would be much appreciated.

Cheers
--
Ben Franksen
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachm€nts

Attachment: signature.asc
Description: This is a digitally signed message part.


Replies:
Re: Problem in errlogRemoveListener Andrew Johnson
References:
Problem in errlogRemoveListener Benjamin Franksen

Navigate by Date:
Prev: Problem in errlogRemoveListener Benjamin Franksen
Next: Re: help setting up XY table control with EPICS StreamerClass Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Problem in errlogRemoveListener Benjamin Franksen
Next: Re: Problem in errlogRemoveListener Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024