[haiku-development] [PATCH] Add microsecond resolution to BTime

  • From: "Stephen Deken" <stephen.deken@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 9 Oct 2008 13:19:32 -0500

This is a patch to BTime that gives it a microsecond resolution.
Since BTime is (I assume) present in BeOS R5, and because the goal of
Haiku R1 is to preserve binary compatibility with BeOS R5, I've
guarded the changes with HAIKU_TARGET_PLATFORM_HAIKU, which is the
closest I could find to HAIKU_BREAK_COMPATIBILITY.

This patch is (will be) needed to allow the clock to have a smoothly
sweeping second hand (as a preference in the new clock app, which
isn't ready yet).  It does not appear to have any adverse side effect
on the rest of the OS.

-- 
Stephen Deken
stephen.deken@xxxxxxxxx

Other related posts: