OS Lecture 1
OS Lecture 1
Time Slices: The CPU time is divided into small time slices, and
each user's process gets a turn to execute during its allocated time
slice.
Examples:
Industrial control systems: Controlling robotic arms in factories,
managing automated production lines.
Examples:
Smartphone: Android and iOS are examples of embedded OS that
power our smart phones.
Digital cameras: Embedded OS control camera functions like
image processing, storage, and display.
Cars: Modern cars have numerous embedded systems for engine
control, infotainment, and safety features.
Smart TVs: Embedded OS provide the functionality for streaming
services, apps, and internet connectivity in smart TVs.
Wearable devices: Smart watches and fitness trackers use
embedded OS to track activity, provide notifications, and run apps.
Internet of Things (IoT) devices: Embedded OS power a wide
range of IoT devices like smart home appliances, sensors, and
industrial equipment.
OPERATING SYSTEM STRUCTURES
1. Monolithic Structure:
1. Monolithic Structure:
2. Layered Structure
3. Microkernel Structure:
3. Microkernel Structure:
3. Microkernel Structure:
Mechanism:
get process ID(): Gets the unique process identifier (PID) of the
calling process.
Example: A process might use get process ID() to identify itself
when communicating with other processes.
SYSTEM CALLS
(5) Communication:
(ii) write(): Writes the data received from the internet into the
newly created file. The browser repeatedly calls write() to store
chunks of data as they arrive.
SYSTEM CALLS