Re: NSNull and distinct objective-C type
Re: NSNull and distinct objective-C type
- Subject: Re: NSNull and distinct objective-C type
- From: David Duncan <email@hidden>
- Date: Thu, 4 Jun 2009 13:22:24 -0700
On Jun 4, 2009, at 5:39 AM, email@hidden wrote:
Hello All,
I am facing an issue in use of mach_absolute_time().
mach_absolute_time() gives drift even when NTP timing update is on.
sleep(5);
Your assuming that sleep() provides drift free timing, which it does
not - read the man page x-man-page://3/sleep for details.
If you want something closer to a drift free timer, then you need to
determine when you want to wake up and use mach_wait_until() or a
higher level API to wait until that time.
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden