4 - Processes
4 - Processes
CSC351-Operating System
Lecture-4
2
Text Book
►System Calls
►System programs
Preamble ►OS Layered Approach
(Past lesson ►OS Services
brief)
Process Concept
Process Scheduling
Operations on Processes
Interprocess Communication
Examples of IPC Systems
Communication in Client-Server Systems
► Remove process from memory, store on disk, bring back in from disk to
continue execution: swapping
Some mobile systems (e.g., early version of iOS) allow only one
process to run, others suspended
Due to screen real estate, user interface limits iOS provides for a
Single foreground process- controlled via user interface
Multiple background processes– in memory, running, but not on the
display, and with limits
Limits include single, short task, receiving notification of events,
specific long-running tasks like audio playback
Android runs foreground and background, with fewer limits
Background process uses a service to perform tasks
Service can keep running even if background process is suspended
Service has no user interface, small memory use
Lahore Garrison University
2
3
Context Switch