EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  <19961997  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  <19961997  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: Bug in ca_pend_event() ?
From: Guy Jennings <[email protected]>
To: [email protected]
Date: Wed, 06 Mar 1996 15:24:20 -0600
Mark Rivers wrote:
...
> > /* This program tests the time required for a simple call to ca_pend_event() */
> > #include <cadef.h>
> > main()
> > {
> >       int i;
> >       for (i=0; i<1000; i++) ca_pend_event(.00001);
> > }
> >
...

You'll laugh at the results I got with the Macintosh ca - 36 seconds!  Looks like it's
not a real OS after all.

I have a suggestion to avoid all this magic number business (the 1 µsec threshold).  Why not 
simply accept a value of zero (0.0) in ca_pend_event/ca_pend_io to mean 'no extra delay'

Just a suggestion,

Guy Jennings


References:
Re: Bug in ca_pend_event() ? Jeff Hill

Navigate by Date:
Prev: Table Look-up and Array Processing Thomas Dean
Next: ?delay record Matthias Clausen DESY -MKV2/KRYK-
Index: 1994  1995  <19961997  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: Bug in ca_pend_event() ? Jeff Hill
Next: Re: Bug in ca_pend_event() ? Jeff Hill
Index: 1994  1995  <19961997  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 ·