thread_policy_set() error
thread_policy_set() error
- Subject: thread_policy_set() error
- From: Arrigo Benedetti <email@hidden>
- Date: Mon, 22 Nov 2004 19:18:42 -0800
I am passing thread_policy_set() these parameters:
ttcpolicy.period: 1562500000
ttcpolicy.computation: 937500000
ttcpolicy.constraint: 1250000000
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?
thanks!
-Arrigo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden