-
Notifications
You must be signed in to change notification settings - Fork 0
MY OS Notes
Madrajib Lab edited this page Dec 10, 2025
·
23 revisions
- File in mem -> Pipes
- Shared mem for communications
Inter -> comm betn two entity
Intra -> comm withing same entity (func calls)
- Inconsistency (incorrectness)
- Loss of Data
- Deadlock
-
Competition: Two process compete for accessing a shared resource
- Leads to deadlock and incosistency
- Cooperation : Execution of one task effects the other .eg producer consumer problem
- Critical section : accessing shared resource
-
Race Condition : concurrent access of processes to a critical section
- Final result of output depends on the order in which they finish their update.
- Preemption : A task can be preemted by other.