site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com S+E -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Technical Support * Networking, Communications, Hardware _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... At 19:18 -0800 22/11/04, Arrigo Benedetti wrote: and the function fails with error code 4 (invalid parameters). I am running the code on a Powermac dual G5, where the bus speed is 1250000000. According to thread_policy.h, period, computation and constraint should be specified in Absolute Time units, and I read on an old thread on this list that in a second there should be 1250000000 divided by 4 Absolute Time units. Absolute time units are hardware dependent: they mean completely different things on the G4 and the G5. To generate absolute time values you must consult the time base, which you can get using mach_timebase_info. This email sent to site_archiver@lists.apple.com
participants (1)
-
Quinn