workloop thread priority = 81, lowest in kernel threads.
workloop thread priority = 81, lowest in kernel threads.
- Subject: workloop thread priority = 81, lowest in kernel threads.
- From: Parav Pandit <email@hidden>
- Date: Thu, 10 Feb 2005 21:58:42 +0000 (GMT)
Hi,
Let me ask u a simple questions.
1. workloop is to handle interrupts, timer interrupts
and the commands.
some important work , asked by the primary interupts
and other asked by commands.
Right?
Assuming this is right.
So when work is important workloop thread should have
higher priority than any other kernel thead.
Workloop thread is created with IOCreateThread API.
IOCreateThread creates the kernel thread with priority
of 81.
thread_call_enter() has high priority as 94.
so if I have a thread created with thread_call_enter()
than it will get high priority than my secondary
interrupt handler. is it true?
We can see this from remote-gdb.
I read the IOKit funda.pdf , one thing is not clear to
me is:
TimerInterruptSource are handled using
thread_call_enter.
so if my timeout handler function is executing, is it
possible that secondary interrupt handler can be
served on other processor?
or CloseGate() is executed after timeout hanlder is
finished? and seconadary interrupt will be executed.
Regards,
Parav Pandit
________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
_______________________________________________
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