EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  <19992000  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  <19992000  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: RE: CA library on vxWorks.
From: "Eric Boucher" <[email protected]>
To: "Jeff Hill" <[email protected]>, "Tech-Talk" <[email protected]>
Date: Thu, 2 Dec 1999 12:06:50 -0600

> >
> > I have a main task that initialize CA (ca_task_initialize) then it spawn
> > another task to make the necessary CA connections (ca_search,
> ca_add_event).
> > So I first call ca_import and just before the second task exit, I call
> > ca_import_cancel. I was expecting the first task to be able to
> receive and
> > handle the event callbacks, however It seems that all the ca_add_event
> made
> > by the second task are cleared.
> > What sould I do to keep the events after the second task had died ?
> >
>
> I dont expect that the events would be cleared if the 2nd task calls
> ca_import_cancel()
> before it exits.
>
> How do you know that the events were cleared.
>

Well actually, the events might not have been cleared, but the
XXX_event_task created by CA was dead.
So I called taskSuspend instead of exiting the second task and everything
went fine.
The XXX_event_task was still alive.
When I called taskResume to let the second task died, the XXX_event_task
also died !


Eric.



References:
RE: CA library on vxWorks. Jeff Hill

Navigate by Date:
Prev: RE: CA library on vxWorks. Jeff Hill
Next: Where is Motor Record Documentation Jane Richards
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: CA library on vxWorks. Jeff Hill
Next: Another CA question on vxWorks. Eric Boucher
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·