Process Synchronization in Operating System

Mutex, Semaphore, Classical Synchronization Problems - Reader-Writer, Producer-Consumer, Dining Philosopher
Rating: 4.2 out of 5 (4 ratings)
299 students
English
English [Auto]
Process Synchronization is Operating System
Synchronization Basics : Mutex, Semaphore
Classical Synchronization Problems: Reader-Writer, Producer-Consumer, Dining Philosopher

Requirements

  • Process concept Operating System
  • Basic Linux Programming

Description

This course is will cover Process Synchronization which is an important concept of Operating System. For concurrent execution of processes synchronization is necessary. For this purpose, processes may be accessing shared resources like memory. Critical section is the memory area where shared code is implemented. While accessing these resources data integrity is must. Mutex and semaphore are two important programming constructs implemented to solve the synchronization issues with critical section. For implementation of mutex and semaphore programming variables are just incremented and decremented to maintain count of processes currently accessing or will be accessing the shared area. Classical synchronization problems are well known problems to be solved with deadlock-free solution using semaphore and mutex. Producer-Consumer problem is producer processes are generating data and consumer processes are using that. But this must be implemented using mutex and semaphore locks. In reader-writer problem, reader and writer processes are accessing shared memory in synchronized manner. The dining philosopher problem is the issue of two resources sharing among processes in deadlock-free manner. This course will give knowledge of all these three problems along with implementation in C programming on Linux OS. This course will build up confidence for working on Linux as Operating System.

Who this course is for:

  • Beginners with Linux Programming
  • Operating System Programmers

Course content

4 sections9 lectures43m total length
  • Introduction to Mutex
    02:27
  • Semaphore Implementation
    07:59
  • Test Your Skills - Semaphore Implementation
    1 question

Instructor

M.E. Computer Engineering
Rupali Bora
  • 4.2 Instructor Rating
  • 4 Reviews
  • 299 Students
  • 1 Course

I am a Computer Engineer and Research coordinator of Information Technology Department, working as Assistant Professor at K. K. Wagh Institute of Engineering Education & Research, Nashik. I have experience of 15 years in the field of teaching with a my expertise in subjects like Operating System and Linux Programming, Machine Learning and many more..