2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 <2012> 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 | Index | 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: epicsTimer and rounding |
From: | Eric Norum <[email protected]> |
To: | Ralph Lange <[email protected]> |
Cc: | EPICS Core Talk <[email protected]>, Dirk Zimoch <[email protected]> |
Date: | Fri, 8 Jun 2012 08:55:35 -0700 |
So what what's your recommendation for an RTEMS implementation of epicsThreadSleep? Constraints: - Minimize floating point - Don't make delays longer than necessary. I'd expand your "0.0 doesn't sleep one quantum" to "epicsThreadSleep(N*epicsThreadSleepQuantum()) should call the underlying OS delay routine for a N-tick delay -- not N+1 ticks". On Jun 8, 2012, at 8:04 AM, Ralph Lange wrote:
--
Eric Norum [email protected] |