Re: Context switch for a witing thread
From: Leesei (someone_at_microsoft.com)
Date: 10/27/04
- Next message: Leesei: "Blocking thread for a time period"
- Previous message: Jochen Kalmbach: "Re: Context switch for a witing thread"
- In reply to: Leesei: "Context switch for a witing thread"
- Next in thread: Jochen Kalmbach: "Re: Context switch for a witing thread"
- Reply: Jochen Kalmbach: "Re: Context switch for a witing thread"
- Reply: hector: "Re: Context switch for a witing thread"
- Messages sorted by: [ date ] [ thread ]
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.
>
>
- Next message: Leesei: "Blocking thread for a time period"
- Previous message: Jochen Kalmbach: "Re: Context switch for a witing thread"
- In reply to: Leesei: "Context switch for a witing thread"
- Next in thread: Jochen Kalmbach: "Re: Context switch for a witing thread"
- Reply: Jochen Kalmbach: "Re: Context switch for a witing thread"
- Reply: hector: "Re: Context switch for a witing thread"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|