[Bug 1894] missing a tick in _Timespec_To_ticks

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Sun Aug 21 19:11:10 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1894

Joel Sherrill <joel.sherrill at oarcorp.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1294|0                           |1
        is obsolete|                            |

--- Comment #14 from Joel Sherrill <joel.sherrill at oarcorp.com> 2011-08-21 14:11:08 CDT ---
Created attachment 1307
  --> https://www.rtems.org/bugzilla/attachment.cgi?id=1307
Cover over time conversion helpers.

We convert multiple time representations to ticks.  I added a patch which
ensures that the other conversions handle the same situation.

It is general practice on a ticks based system that the time will be at least
what you requested.  Without rounding up (e.g. +1), we violate that.

How is this patch?

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list