Process Management (1)
Process Management (1)
MANAGEMENT
Introduction
The job with the shortest burst time will get the
CPU first.
The lesser the burst time, the sooner will the
process get the CPU.
It is the non-preemptive type of scheduling.
4. Shortest remaining time first
S. Process Thread
N.
1 Process is heavy weight or Thread is light
resource intensive. weight, taking
lesser resources
than a process.
2 Process switching needs Thread switching
interaction with operating does not need to
system. interact with
operating system.
3 In multiple processing All threads can
environments, each process share same set of
executes the same code but open files, child
has its own memory and file processes.
resources.
4 If one process is blocked, While one thread is
5 Multiple Multiple threaded
processes processes use
without using fewer resources.
threads use more
resources.
6 In multiple One thread can
processes each read, write or
process operates change another
independently of thread's data.
the others.
Advantages of Thread