fork() create new processes; exec() replaces process image.fork() clones parent; exec() overlays process with new program.| Item | Key Features | Notes / Differences |
|---|---|---|
| Process | Unique PID, states, created via fork()/exec(), terminated by exit() | Parent-child relations, separate address spaces |
| Thread | Shares process resources, has own PC and stack | Faster creation, lightweight |
| Virtual Memory | Paging, segmentation, page tables, TLB | Larger address space than physical memory |
| Page Replacement | FIFO, LRU, Clock | Balances page faults and memory utilization |
| Synchronization | Semaphores, mutexes, monitors | Prevent race conditions |
| Hardware Support | Registers, interrupts, privilege modes, cache | Enforces protection, manages I/O |
Operating System
├─ Process Management
│ ├─ Creation: fork(), exec()
│ ├─ States: ready, running, blocked
│ └─ Termination: exit()
├─ Threads
│ ├─ Share resources
│ └─ Managed by kernel/user
├─ Memory Management
│ ├─ Virtual memory: paging, segmentation
│ ├─ Page tables & TLB
│ └─ Replacement algorithms: FIFO, LRU, Clock
├─ Synchronization & Communication
│ ├─ Semaphores, mutexes
│ └─ Deadlock detection/avoidance
└─ Hardware & Protection
├─ Registers, interrupts
├─ Privilege modes
└─ Cache, protection mechanisms
fork() (creates a copy) with exec() (replaces process image).fork(), exec(), process states.End of Revision Sheet
Testez vos connaissances sur Operating Systems Fundamentals avec 10 questions à choix multiples avec corrections détaillées.
1. What is the primary purpose of the fork() system call in process management?
2. What function in Unix-like operating systems is used to create a new process by cloning the parent process?
Mémorisez les concepts clés de Operating Systems Fundamentals avec 10 flashcards interactives.
Process — creation method?
fork() and exec() system calls
Processes — definition?
Units of execution identified by PID.
Thread — resource sharing?
Share address space within a process
Bases de données
Bases de données
Bases de données
Programmation
Importe ton cours et l'IA génère fiches, QCM et flashcards en 30 secondes.
Générateur de fiches