Re: Yielding the processor in a kext?
Re: Yielding the processor in a kext?
- Subject: Re: Yielding the processor in a kext?
- From: Régis Duchesne <email@hidden>
- Date: Mon, 10 Sep 2007 13:47:28 -0700
Folks,
Terry wrote:
> Your only input, other than using an FSA (which I see you say you can't
> use because you are using a "black box thread") is to control your
> thread priority.
> thread priority is PTHREAD_SCOPE_SYSTEM, rather than PTHREAD_SCOPE_PROCESS
Yes, given my constraints, that seems the best thing to do. I just hope
it won't be too costly to do it often (at a granularity shorter than a
timeslice). Benchmarking will tell :)
Thanks for your input,
--
hpreg
_______________________________________________
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