EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  <19951996  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  <19951996  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: Re: A possible alignment fix side-effect.
From: [email protected] (Jeff Hill)
To: [email protected]
Cc: [email protected]
Date: Wed, 6 Dec 95 13:52:02 MST
Peregrine,

> 
> Note: the _seqAuxTask runs at one priority level above the actual
> sequencer app - and it's _only_ function is to call
> ca_pend_event(10.0) forever. Why is that?
> 

When we were not using select() in the client lib under vxWorks there was one task 
in recv() for each file descritor. Since recv() does not have a timeout
then there was the possibility that none of these tasks would unblock
and periodically take care of CA background activities (such as
locating channels and detecting disconnects). Therefore it was
necessary to periodically call ca_pend_event() under vxWorks (similar
to what is required under single-threaded os). Now that we have an independent
task under vxWorks which is taking care of all of the file descriptors 
and periodic background labor via select() there is no longer a requirement 
to periodically call ca_pend_event() from client side applications
that are running under vxWorks.


Jeff

______________________________________________________________________
Jeffrey O. Hill			Internet	[email protected]
LANL MS H820			Voice		505 665 1831
Los Alamos, NM 87545 USA 	FAX		505 665 5107


Navigate by Date:
Prev: Re: A possible alignment fix side-effect. Andy Kozubal
Next: Stepper Motor Drivers Brian Leckie
Index: 1994  <19951996  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 
Navigate by Thread:
Prev: Re: A possible alignment fix side-effect. Andy Kozubal
Next: Stepper Motor Drivers Brian Leckie
Index: 1994  <19951996  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 
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 ·