Re: threading
- From: "<ctacke/>" <ctacke[at]opennetcf[dot]com>
- Date: Thu, 5 Jul 2007 09:57:38 -0500
Depends on what you mean by "intercept".
The scheduler will preempt execution of lower priority threads with higher
priority threads. There are some cases where the priority of a thread gets
increased by the scheduler to prevent inversion or deadlocking, and a thread
has a quantum, so it might not run to full completion if it takes a long
time (> 50ms) and there is another thread at the same priority waiting.
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com
"Moshe Peleg" <mpeleg@xxxxxxxxxxxxxxx> wrote in message
news:uK0sv%23vvHHA.736@xxxxxxxxxxxxxxxxxxxxxxx
Can a high priority thread intercept a lower priority thread in the middle
of a function ?
.
- Follow-Ups:
- Re: threading
- From: Moshe Peleg
- Re: threading
- References:
- threading
- From: Moshe Peleg
- threading
- Prev by Date: RE: WCELOAD.EXE and /noaskdest
- Next by Date: Re: When we go to sleep...
- Previous by thread: threading
- Next by thread: Re: threading
- Index(es):
Relevant Pages
|
|