Re: question about SYSINTR_RESCHED and scheduler
- From: "Zhiqiang Li" <zhiqiang.li@xxxxxxxxxx>
- Date: Sat, 10 Mar 2007 20:09:57 +0100
Hi Dean,
thanks for your explanation. I have another question concerning this topic,
suppose that I have three thread, two of them running in kernel process, and
one of them running in user application process, and the one running in
user application process is resumed, will scheduler put this thread into
running in case of rescheduling?
regards,
Zhiqiang
"Dean Ramsier" <ramsiernospam@xxxxxxxxxx> schrieb im Newsbeitrag
news:Oy3w$smYHHA.3520@xxxxxxxxxxxxxxxxxxxxxxx
SYSINTR_RESCHED has nothing to do with suspended threads. It is your
responsibility to resume a suspended thread using a call to ResumeThread
whenever it is appropriate for your application.
SYSINTR_RESCHED just means it's time for the kernel to schedule the next
thread that is in line for execution. A suspended thread is not in line
for execution.
--
Dean Ramsier - eMVP
BSQUARE Corporation
"Zhiqiang Li" <zhiqiang.li@xxxxxxxxxx> wrote in message
news:OYh5yfmYHHA.3824@xxxxxxxxxxxxxxxxxxxxxxx
Dear All,
I have a question about SYSINTR_RESCHED and scheduler,
As I know SYSINTR_RESCHED is returned by ISR to indicate a reschedule,
but what will scheduler do in case of rescheduling? (Suppose that I have
created three threads, and all of them are created in suspended state,
and I am afraid none of them will be awaked by the scheduler. Right? If
so, I need another SYSINTR_ to triggered the event.)
thanks
to suspended state
.
- Follow-Ups:
- Re: question about SYSINTR_RESCHED and scheduler
- From: Steve Maillet \(eMVP\)
- Re: question about SYSINTR_RESCHED and scheduler
- References:
- question about SYSINTR_RESCHED and scheduler
- From: Zhiqiang Li
- Re: question about SYSINTR_RESCHED and scheduler
- From: Dean Ramsier
- question about SYSINTR_RESCHED and scheduler
- Prev by Date: Re: WinCE 6.0 / PB6 very slow builds?
- Next by Date: Re: Help needed to add telnet reg settings to my emulator version
- Previous by thread: Re: question about SYSINTR_RESCHED and scheduler
- Next by thread: Re: question about SYSINTR_RESCHED and scheduler
- Index(es):
Relevant Pages
|