O/S State Diagrams © 2004, D. J. Foreman.

Slides:



Advertisements
Similar presentations
Uniprocessor Scheduling Chapter 9 Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College, Venice,
Advertisements

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.
Process Scheduling in Windows XP, Linux, and UNIX By Sarah G. Levinson CSC 4320.
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.
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.
Threads, SMP and Microkernels Process vs. thread: –Unit of resource ownership (process has virtual address space, memory, I/O channels, files) –Unit of.
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?
Uniprocessor Scheduling
Concurrency, Processes and Threads
Operating Systems: A Modern Perspective, Chapter 6
Process and Thread State Diagrams
Threads and Locks.
System Structure and Process Model
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.
System Structure and Process Model
Operating Systems CPU Scheduling.
System Structure B. Ramamurthy.
Process Models, Creation and Termination
Lecture 21: Introduction to Process Scheduling
Module 2.1 COP4600 – Operating Systems Richard Newman
So far…. Firmware identifies hardware devices present
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
EE 472 – Embedded Systems Dr. Shwetak Patel.
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
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:

O/S 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