CDROM-Guide forums

Go Back   CDROM-Guide forums > Main Forums > Open to All Computer Related Topics
FAQ Calendar Mark Forums Read
Open   CSec   Data   DevDrv   CoOp   Audio   CDRW   CDG   VCD   DVD   HD DVD   Mac   VGB   PS2   DC   Xbox  


Reply
 
Thread Tools Display Modes
  #1  
Old Mar 21, 2004, 11:19 PM
101 101 is offline
Senior Member
 
Join Date: Aug 2000
Location: NZ
Posts: 310
Default Win 2000 Thread States. URGENT URGENT URGENT :)

sponsored links

 
Quick Question - In your own opinion, what are the three main thread states in Windows 2000? Ready, Waiting, and Running? I'm confused?

Thanks for any answers
Reply With Quote
  #2  
Old Mar 21, 2004, 11:24 PM
101 101 is offline
Senior Member
 
Join Date: Aug 2000
Location: NZ
Posts: 310
Default

[list][*]Ready - When looking for a thread to execute, the dispatcher considers only the pool of threads in the ready state. These threads are simply waiting to execute.

[*]Standby - A thread in the standby state has been selected to run next on a particular processor. When the correct conditions exist, the dispatcher performs a context switch to this thread. Only one thread can be in the standby state for each processor on the system.

[*]Running - Once the dispatcher performs a context switch to a thread, the thread enters the running state and executes. The thread's execution continues until the kernel preempts it to run a higher priority thread, its quantum ends, it terminates, or it voluntarily enters the wait state.

[*]Waiting - A thread can enter the wait state in several ways: a thread can voluntarily wait on an object to synchronize its execution, the operating system (the I/O system, for example) can wait on the thread's behalf, or an environment subsystem can direct the thread to suspend itself. When the thread's wait ends, depending on the priority, the thread either begins running immediately or is moved back to the ready state.

[*]Transition - A thread enters the transition state if it is ready for execution but its kernel stack is paged out of memory. For example, the thread's kernel stack might be paged out of memory. Once its kernel stack is brought back into memory, the thread enters the ready state.

[*] Terminated - When a thread finishes executing, it enters the terminated state. Once terminated, a thread object might or might not be deleted. (The object manager sets policy regarding when to delete the object.) If the executive has a pointer to the thread object, it can reinitialize the thread object and use it again.

[*] Initialized - Used internally while a thread is being created.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sony LX2 with XP, want to put Win 2000 on as well qxe900 Open to All Computer Related Topics 2 Nov 22, 2002 06:38 PM
PCI 128 on Win 2000 Secoast Open to All Computer Related Topics 3 Oct 23, 2002 03:49 PM
networking win xp and win 2000.. ellal Computer Networking & Security 2 Oct 10, 2002 10:55 PM
how do i downgrade from win xp to win 2000? Blue PSX Open to All Computer Related Topics 3 Aug 31, 2002 09:48 PM
simple question dual boot win 2000 uk_trader Open to All Computer Related Topics 4 Jul 03, 2002 08:55 PM


All times are GMT -5. The time now is 01:36 PM.



Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © 1996-2009 CDROM-Guide.com. All rights reserved