Re: threading
- From: "Moshe Peleg" <mpeleg@xxxxxxxxxxxxxxx>
- Date: Thu, 5 Jul 2007 18:04:12 +0300
Thank you very much.
"<ctacke/>" <ctacke[at]opennetcf[dot]com> wrote in message
news:uAHX4TxvHHA.3500@xxxxxxxxxxxxxxxxxxxxxxx
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 ?
.
- References:
- threading
- From: Moshe Peleg
- Re: threading
- From: <ctacke/>
- threading
- Prev by Date: Re: When we go to sleep...
- Next by Date: Re: timelength of a wav file
- Previous by thread: Re: threading
- Index(es):
Relevant Pages
|