Re: Context switch for a witing thread

From: Leesei (someone_at_microsoft.com)
Date: 10/27/04


Date: Wed, 27 Oct 2004 17:53:41 +0800

To clarify my meaning of READY and RUNNING:
Will the thread be put to the end of the queue of the same priority?
OR
Will the current thread (with priority<=the waitng thread) be switched to
the waiting thread?

"Leesei" <someone@microsoft.com> wrote in message
news:eX1allAvEHA.2520@TK2MSFTNGP15.phx.gbl...
> When I have a thread waiting for a sync object and the wait is sucess,
> I want to know whether the state of it will change to READY or RUNNING?
> thx.
>
>



Relevant Pages

  • threading monitor
    ... Upon receiving a Monitor.Pulse, the waiting thread is moved to the ready ... When the thread that invoked Monitor.Pulse releases the lock, ... next thread in the ready queue (which is not necessarily the thread that was ... How can a ensure that the waiting thread gets priority in acquiring the lock ...
    (microsoft.public.dotnet.general)
  • threading monitor
    ... Upon receiving a Monitor.Pulse, the waiting thread is moved to the ready ... When the thread that invoked Monitor.Pulse releases the lock, ... next thread in the ready queue (which is not necessarily the thread that was ... How can I ensure that the waiting thread gets priority in acquiring the lock ...
    (microsoft.public.dotnet.languages.vb)
  • Re: sched_userret priority adjustment patch for sched_4bsd
    ... > Stephan Uphoff wrote: ... > a priority of less importance than a waiting thread. ... > to userland. ...
    (freebsd-arch)