Re: Context switch for a witing thread

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Jochen Kalmbach (nospam-Jochen.Kalmbach_at_holzma.de)
Date: 10/27/04


Date: Wed, 27 Oct 2004 02:50:34 -0700

Hi Leesei,

> 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?

It will change to READY...
Only if the scheduler selected the thread to run, then it will change to
RUNNING.

-- 
Greetings
  Jochen
   My blog about Win32 and .NET
   http://blog.kalmbachnet.de/