Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
6Activity
0 of .
Results for:
No results containing your search query
P. 1
Process management, Threads, Process Scheduling--Operating Systems

Process management, Threads, Process Scheduling--Operating Systems

Ratings: (0)|Views: 690|Likes:
Published by Mukesh
Process Management:- Process concepts, threads, scheduling-criteria, algorithms and their evaluation
Thread scheduling, case studies UNIX, Linux and windows
Process Management:- Process concepts, threads, scheduling-criteria, algorithms and their evaluation
Thread scheduling, case studies UNIX, Linux and windows

More info:

Published by: Mukesh on Aug 29, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

07/17/2013

pdf

text

 
Chapters 3&5 Process- Concept &Process SchedulingAslesha L.AkkineniAssistant Professor, CSEVNR VJIET
OPERATING SYSTEMS
 Prescribed Text Book 
 – 
 Operating System Principles, Seventh EditionByAbraham Silberschatz, Peter Baer Galvin and Greg Gagne
 
Chapters 3&5 Process- Concept &Process SchedulingAslesha L.AkkineniAssistant Professor, CSEVNR VJIET
PROCESS MANAGEMENT
Current day computer systems allow multiple programs to be loaded into memory and executedconcurrently.
Process
is nothing but a program in execution. A process is the unit of work in amodern time sharing system. A system is a collection of processes: operating system processesexecuting operating system code and user processes executing user code. By switching CPUbetween processes, the operating system can make the computer more productive.
Overview
A batch system executes jobs whereas a time shared system has user programs or tasks. On asingle user system, user may be able to run several programs at one time: a word processor, aweb browser and an e-mail package. All of these are called processes.
The Process
A process is a program in execution. A process is more than a program code sometimes knownas
text section
. It also includes the current activity as represented by the value of the
program
 
counter
and the contents of the processor’s registers. A process generally also includes the
process
stack
which contains temporary data and a
data section
which contains global variables.A process may also include a
heap
which is memory that is dynamically allocated duringprocess run time.Program itself is not a process, a program is a
 passive
entity such as a file containing a list of instructions stored on disk (called an executable file) whereas process is an active entity with aprogram counter specifying the next instruction to execute and a set of associated resources. Aprogram becomes a process when an executable file is loaded into memory. Although twoprocesses may be associated with the same program, they are considered two separate executionsequences.
Process State
As a process executes, it changes state. The state of a process is defined in part by the currentactivity of that process. Each process may be in one of the following states-
 
Chapters 3&5 Process- Concept &Process SchedulingAslesha L.AkkineniAssistant Professor, CSEVNR VJIET
New: The process is being created.Running: Instructions are being executed.Waiting: The process is waiting for some event to occur.Ready: The process is waiting to be assigned to the processor.Terminated: The process has finished execution.
Process Control Block 
Each process is represented in the operating system by a process control block also called task control block. It contains many pieces of information associated with a specific processincluding:Process State: The state may be new, ready, running, waiting, halted etc.Program Counter: The counter indicates the address of the next instruction to be executed for thisprocess.CPU registers: The registers vary in number and type depending on the computer architecture.

Activity (6)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Shylesh Prabhu liked this
dnlkaba liked this
Vidhu Vohra liked this
Puneet Mehta liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->