EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: CA; ca_context_destoy and CA channels
From: "Liyu, Andrei" <[email protected]>
To: [email protected]
Date: Mon, 11 Apr 2005 10:56:51 -0400
Jeff,

	If I am not mistaken there are not couple features in current CA
function interface.
	I can suppose that when you came to multithread CA you added
get_current_context and attach functions. But there is not similar
mechanism for ca_context_destoy. 
	So I open first thread, create CA context, create first CA
channel. Then I open second thread, attach to current CA context, create
second CA channel.  ... Then I decide to close first CA channel and
close context (???!!!). What is behavior CA library? I suppose second CA
channel will be closed without normal procedure of closing second
channel + its monitor?
	But I don't like to close second channel and CA context! Then I
should check is that channel latest? I couldn't find suitable function
in CA function API. Maybe get_current_context has something. But it is
very deep.
	I have once way - hold tracks of my CA channels (minimum is
global counter). Usually it could be done. But if program is mixture of
different libraries and each library comes to CA library then it becomes
impossible.

Thanks,
Andrei.


Replies:
Re: CA; ca_context_destoy and CA channels Benjamin Franksen
RE: CA; ca_context_destoy and CA channels Jeff Hill

Navigate by Date:
Prev: Re: Arbitrary Function Generator Till Straumann
Next: EPICS Web Server Problems Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Arbitrary Function Generator Till Straumann
Next: Re: CA; ca_context_destoy and CA channels Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  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 ·