Re: Lowering Thread Priority
Re: Lowering Thread Priority
- Subject: Re: Lowering Thread Priority
- From: "Duane Murphy" <email@hidden>
- Date: Tue, 27 Nov 2007 11:16:49 -0800
--- At Tue, 27 Nov 2007 10:37:56 -0800, Garth Cummings wrote:
>On Nov 26, 2007, at 10:17 PM, Duane Murphy wrote:
>
>> I would like to lower the priority of a background thread in my kext.
>
>You probably don't really want to do that literally. What's the
>problem you're trying to solve?
I have a background thread that is in contention with System IO requests
to the kext. While the background thread is working system IO requests
and chunks of the background work are serialized to prevent errors from
occurring.
If there is contention between posting an IO request to the queue versus
posting a process chunk request, then I want the IO request to win.
Further testing is showing that this is probably not the real problem
with my performance. However, I am still interested to know what can be
done if this indeed was a problem.
...Duane
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden