5.1||Process Synchronization ||Critical Section Problem||Operating Systems||Prof Sana Rehmat||Part-1

CS Knowledge
CS Knowledge
1.3 هزار بار بازدید - 3 سال پیش - Processes Synchronization or Synchronization is
Processes Synchronization or Synchronization is the way by which processes that share the same memory space are managed in an operating system. It helps maintain the consistency of data by using variables or hardware so that only one process can make changes to the shared memory at a time. There are various solutions for the same such as semaphores, mutex locks, synchronization hardware, etc.
What is process synchronization with example?
Image result for process synchronization in os
It is necessary that processes are synchronized with each other as it helps avoid the inconsistency of shared data. For example: A process P1 tries changing data in a particular memory location. At the same time another process P2 tries reading data from the same memory location.
What are the three levels of synchronization?
The APPC architecture defines three levels of synchronization (called sync levels).
Level 0 – none.
Level 1 – confirm.
Level 2 – syncpoint.
How Process Synchronization Works?
For Example, process A changing the data in a memory location while another process B is trying to read the data from the same memory location. There is a high probability that data read by the second process will be erroneous.
Full course Operating System
4.1||Threads||Operating Systems|Chapt...
Lec||3.10 ||Inter process communicati...
5.1||Process Synchronization ||Critic...
6.1|| CPU Scheduling|| Scheduling Obj...
6.2||What is CPU Scheduler?||Short-te...
6.3|| What is Dispatcher?|| Dsipatch ...
6.4|| Scheduling Criteria || CPU Sche...
6.5|| FCFS(First Come First Serve) Sc...
6..6||Shortest Job First||Operating S...
6.7|Shortest Remaining Time First (SJ...
6.8|Priority scheduling Algorithm wit...
5.1||Process Synchronization ||Critic...
5.2||Process Synchronization ||Critic...

CPU Scheduling Chapter 6 opearting System Complete Playlist
6.1|| CPU Scheduling|| Scheduling Obj...

Distributed Database Systems Complete Playlist
Lec-1|| Introduction To Distributed D...

Threads chapter 4 in operating System playlist
4.1||Threads||Operating Systems|Chapt...

Database Administration complete Plyalist
DBA-1.1|| Introduction of Database Sy...

Process Management Chapter 3 Operating System Complete playlist
Lec-3.1 ||Process Management||Process...

Computer Networks Complete Playlist
1.2: BGP(Border Gateway Protocol) Ove...

System and Network Administration Complete Playlist
System and network administration|| W...


#cs Knowledge
(Subscribe , like & share)
3 سال پیش در تاریخ 1400/04/20 منتشر شده است.
1,320 بـار بازدید شده
... بیشتر