Re: threads



.... if the Windows Balance Set Manager has detected something funny and is
fixing it.

.... if the high priority thread has voluntarily given up it's timeslice
(Sleep).

.... if the high priority thread is blocked.

... if you have multiple processors and/or cores, it's all out the window
anyway.

--
Chris Mullins, MCSD.NET, MCPD:Enterprise, MVP C#
http://www.coversant.net/blogs/cmullins

"csharpula csharp" <csharpula@xxxxxxxxx> wrote in message
news:eYee9OvQHHA.3412@xxxxxxxxxxxxxxxxxxxxxxx

Can someone please help me with the following question:
Describe one or more situations in which a lower-priority thread is
running whereas a higher priority thread is not?


.



Relevant Pages

  • Re: Thread context switching
    ... > worker threads and PostMessage to wake the lower priority main UI thread ... > pre-empted by the lower priority threads. ... > assumption that higher priority thread would never be pre-empted by lower ... > occurred only when the high priority thread enters wait state. ...
    (microsoft.public.win32.programmer.kernel)
  • C++ exception influence real time behaviour of CE
    ... Create a high priority thread, that does nothing else than incrementing ... In our example throw 50000 exceptions. ... printf("Set Counter thread priority to 0\n"); ...
    (microsoft.public.windowsce.platbuilder)
  • Re: threads that wont yield
    ... >> In a simple pthreads app, I start a high priority thread and a low priority ... If the client thread starts running before acceptis called, ...
    (comp.unix.solaris)
  • Re: Thread context switching
    ... while your lower priority thread is running on another. ... >> worker threads and PostMessage to wake the lower priority main UI thread ... >> occurred only when the high priority thread enters wait state. ...
    (microsoft.public.win32.programmer.kernel)
  • CriticalSection & Priority Inversion problem
    ... There are some high priority threads and low priority ... where *ALL* threads execute the *same* function ... .Here i think high priority thread will pre- ...
    (microsoft.public.windowsce.embedded.vc)