Nanosleep granularity in MacOS?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com If there is a more appropriate mailing list for this question, please suggest it. Perusing the web suggests that there is a "granularity" -- a minimum sleep time -- at which the behavior of the "nanosleep" function changes: For times shorter than the threshold, it simply loops, but for longer times it may in fact actually sleep, and give other processes a chance to run, Does anyone know what this time is (or what other, possibly related times are), for MacOS? The answer is likely processor and clock-speed dependent, so is there a way to obtain this information at run-time on particular Mac platforms? Thanks. -- Jay Reynolds Freeman --------------------- Jay_Reynolds_Freeman@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Jay Reynolds Freeman