Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: Re: epicsTimer and rounding
From: Ralph Lange <Ralph.Lange@gmx.de>
To: core-talk@aps.anl.gov
Date: Fri, 08 Jun 2012 19:02:46 +0200
On 08.06.2012 18:41, Andrew Johnson wrote:
> Hi Jeff,
>
> Earlier I wrote:
>> We weren't discussing your C++ epicsTimer API at all, please don't confuse
>>  the issue.
> Hmm, I may have been wrong about that, my apologies.  *Some* of this 
> discussion was about epicsThreadSleep(), but looking back at Ralph's original 
> message maybe he *was* discussing your C++ class?  Ralph, can you clarify this 
> please.
>
> For anyone who doesn't realize this, the C++ epicsTimer class calls 
> epicsThreadSleep() and can be used to implement a periodically-processed 
> callback.  The IOC database does not use this code at all, but I don't know if 
> StreamDevice does or not.

StreamDevice uses the C++ timer class.
The C++ timer class subtracts half a quantum, then calls
epicsThreadSleep() with the result.

~Ralph

References:
Re: epicsTimer and rounding Kasemir, Kay
RE: epicsTimer and rounding Hill, Jeff
Re: epicsTimer and rounding Andrew Johnson
Re: epicsTimer and rounding Andrew Johnson

Navigate by Date:
Prev: RE: epicsTimer and rounding Hill, Jeff
Next: Re: epicsTimer and rounding Ralph Lange
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: Re: epicsTimer and rounding Andrew Johnson
Next: RE: epicsTimer and rounding Hill, Jeff
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020 
ANJ, 26 Nov 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·