Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: high accuracy timing options?




On 27 Mar 2008, at 22:25, Andrew Gallatin wrote:
One thing to keep in mind about MacOSX is that the sleep
is *really* accurate compared to Linux, BSD and Solaris.

See http://www.dragonflybsd.org/docs/nanosleep/index.shtml

And also that this is mainly because for very small delays, Darwin lets the "waiting" thread simply burn cpu cycles until the delay is over (at least when I looked into this a couple of years ago). The result is that very small delays are (were) quite inefficient from a multi-processing perspective on Darwin (with the mentioned upshot that they're pretty accurate).



Jonas _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >high accuracy timing options? (From: "Aaron Turner" <email@hidden>)
 >Re: high accuracy timing options? (From: Andrew Gallatin <email@hidden>)
 >Re: high accuracy timing options? (From: "Aaron Turner" <email@hidden>)
 >Re: high accuracy timing options? (From: "Aaron Turner" <email@hidden>)
 >Re: high accuracy timing options? (From: Andrew Gallatin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.