60 likes | 88 Views
Process and Thread State Diagrams. Basic Transitions. # ready queues may be >1. Java Thread States. waiting. Ready/Running. new. Terminated. UNIX Process States. C. A=system call or interrupt B=interrupt/return C=RAM available D=no RAM. New. D. Pre-empted. Ready in memory.
E N D
Basic Transitions # ready queues may be >1
Java Thread States waiting Ready/Running new Terminated
UNIX Process States C A=system call or interrupt B=interrupt/return C=RAM available D=no RAM New D Pre-empted Readyinmemory swap in/out ReadySwapped int/sig A re-sched UserRunning Waitinginmemory KernelRunning WaitingSwapped B Terminated Blocking I/O or Wait requested
Windows Thread States Runnable CPU scheduled New Ready Running preempted Blockrequested Blockreleased Waiting Terminated Page/stack wait Not runnable
Linux Process/Thread States New Ready Running Terminated H/W Any signalor event Uninterruptible Interruptible Signal Stopped* ULT=kernel-level process * Requires action from another process