Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Process Synchronization

Neso Academy via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This introductory lecture explains process synchronization through cooperating processes and shared memory. It uses the producer-consumer problem to show how concurrent counter updates create race conditions and data inconsistency.

Syllabus

Intro
Cooperating processes
Producer Consumer Problem A producer process produces information that is consumed by a consumer process.
counter is incremented every time we add a new item to the buffer counter++ counter is decremented every time we remove one item from the butter counter
Suppose that the value of the variable counter is currently 5. The producer and consumer processes execute the statements "counter" and counter concurrently Following the execution of these two statements, the value of the variable counter

Taught by

Neso Academy

Reviews

Start your review of Process Synchronization

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.