Professional Documents
Culture Documents
NARZU TARANNUM(NTR)
DEPT. OF CSE, BRAC UNIVERSITY
Chapter 3: Processes
● Process Concept
● Process Scheduling
● Operation on Processes
● Interprocess Communication
Device 1
Device
Queue
C
Job Reay P
Queue Queue U
Device
Queue
● Reside in Secondary Memory ● Reside in Main Memory
● Keeps all the processes of the ● Keeps all the processes that are
Processes wait here
system waiting to be executed.
waiting for the device
to be free Device 2
● fork(): create a new process, which becomes the child process of the caller
● wait(): suspends execution of the current process until one of its children terminates.