Process and Thread State Diagrams

Slides:



Advertisements
Similar presentations
Scheduling Introduction to Scheduling
Advertisements

Uniprocessor Scheduling Chapter 9 Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College, Venice,
Operating Systems COMP 4850/CISG 5550 Processes Introduction to Threads Dr. James Money.
A. Frank - P. Weisberg Operating Systems Process Scheduling and Switching.
Chapter 5 Processes and Threads Copyright © 2008.
Slide 6-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 6 Implementing Processes, Threads, and Resources.
Page 1 Processes and Threads Chapter Processes 2.2 Threads 2.3 Interprocess communication 2.4 Classical IPC problems 2.5 Scheduling.
1/27/2010CSCI 315 Operating Systems Design1 Processes Notice: The slides for this lecture have been largely based on those accompanying an earlier version.
Process Management. External View of the OS Hardware fork() CreateProcess() CreateThread() close() CloseHandle() sleep() semctl() signal() SetWaitableTimer()
1HW1 Explain the transition “interrupted” and “event wait.” Describe how they are different. NewReadyRunningTerminated Waiting (Blocked) admitted Dispatched.
1 An Architectural View of an OS Inter-process communication Process Scheduling Process Control Subsystem File Subsystem Device Drivers Hardware Control.
1/23/2008CSCI 315 Operating Systems Design1 Processes Notice: The slides for this lecture have been largely based on those accompanying the textbook Operating.
1 When to Switch Processes 3 triggers –System call, Interrupt and Trap System call –when a user program invokes a system call. e.g., a system call that.
CS444/CS544 Operating Systems Threads Introduction to CPU Scheduling 2/02/2006 Prof. Searleman
Chapter 6 Implementing Processes, Threads, and Resources.
Slide 6-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 6.
Slide 6-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 6.
Processes and Threads.
Chapter 3 Advanced Operating System
Processes and Threads CS550 Operating Systems. Processes and Threads These exist only at execution time They have fast state changes -> in memory and.
Today’s Agenda  Quick Review  Finish Java Threads  The CS Problem Advanced Topics in Software Engineering 1.
1 RTOS Design Some of the content of this set of slides is taken from the documentation existing on the FreeRTOS website
Linux Architecture Overview 1. Initialization Uboot – hardware init, loads kernel Kernel – remaining initialization, calls “init” Init – 1 st process,
Mid Term review CSC345.
Process Models, Creation and Termination Reference –text: Tanenbaum ch. 2.1.
2 Processor(s)Main MemoryDevices Process, Thread & Resource Manager Memory Manager Device Manager File Manager.
T HREADS Lecture 5 1 L. Mohammad R.Alkafagee. H EAVYWEIGHT - PROCESSES The cooperation of traditional processes also known as heavyweight processes which.
Process Control Management Prepared by: Dhason Operating Systems.
Uniprocessor Scheduling Chapter 9 Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College, Venice,
SLC/VER1.0/OS CONCEPTS/OCT'99 1Processes Process Concept Process Scheduling Operation On Processes Cooperating Processes Threads Interprocess Communication.
Process Management Process Concept Why only the global variables?
Applied Operating System Concepts -
Uniprocessor Scheduling
Concurrency, Processes and Threads
Operating Systems: A Modern Perspective, Chapter 6
O/S State Diagrams © 2004, D. J. Foreman.
Uniprocessor Scheduling
Threads and Locks.
Process Virtualization. Process Process is a program that has initiated its execution. A program is a passive entity; whereas a process is an active entity.
Operating Systems CPU Scheduling.
ICS 143 Principles of Operating Systems
Module 2.2 COP4600 – Operating Systems Richard Newman
Process Models, Creation and Termination
Lecture 21: Introduction to Process Scheduling
Module 2.1 COP4600 – Operating Systems Richard Newman
Mid Term review CSC345.
Chapter 9 Uniprocessor Scheduling
Process Description and Control
Threads Chapter 4.
Operating Systems Processes (Ch 4.1).
Chapter 2 Processes and Threads 2.1 Processes 2.2 Threads
Process and Thread State Diagrams
Linux Architecture Overview.
Process Description and Control
Process Description and Control
Concurrency, Processes and Threads
LINUX System : Lecture 7 Lecture notes acknowledgement : The design of UNIX Operating System.
Lecture 21: Introduction to Process Scheduling
Implementing Processes, Threads, and Resources
Chapter 2 Processes and Threads 2.1 Processes 2.2 Threads
Process Description and Control
Linux Process State Scheduling information Identifiers
Outline Process Management Process manager Hardware process
Process State Model -Compiled by Sheetal for CSIT
Concurrency, Processes and Threads
Implementing Processes, Threads, and Resources
Chapter 3: Processes Process Concept Process Scheduling
Uniprocessor Scheduling
Process and Thread State Diagrams
Process and Thread State Diagrams
Presentation transcript:

Process and Thread State Diagrams © 2004, D. J. Foreman

Basic Transitions # ready queues may be >1 © 2004, D. J. Foreman

Java Thread States waiting Ready/Running new Terminated © 2004, D. J. Foreman

UNIX Process States C New D Pre-empted Ready in memory Ready Swapped A=system call or interrupt B=interrupt/return C=RAM available D=no RAM C New D Pre-empted Ready in memory swap in/out Ready Swapped int/sig A re-sched User Running Waiting in memory Kernel Running Waiting Swapped B Terminated Blocking I/O or Wait requested © 2004, D. J. Foreman

Windows Thread States Runnable Not runnable CPU scheduled New Ready Running preempted Block requested Block released Waiting Terminated Page/stack wait Not runnable © 2004, D. J. Foreman

Linux Process/Thread States New Ready Running Terminated H/W Any signal or event Uninterruptible Interruptible Signal Stopped* ULT=kernel-level process * Requires action from another process © 2004, D. J. Foreman