site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com User-agent: Mozilla Thunderbird 0.9 (Macintosh/20041103) I am passing thread_policy_set() these parameters: ttcpolicy.period: 1562500000 ttcpolicy.computation: 937500000 ttcpolicy.constraint: 1250000000 thanks! -Arrigo _______________________________________________ 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... 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. Any ideas? This email sent to site_archiver@lists.apple.com
participants (1)
-
Arrigo Benedetti