Lesson 8 – Thread synchronization

Overview

In multithreaded applications, the need for thread synchronization arises when multiple threads are running concurrently. In this lesson, we will explain the need for thread synchronization and how to use semaphores and mutexes as thread synchronization mechanisms.

In the exercise section, we will highlight two common thread synchronization problems and show how to solve them using semaphores and mutexes.

Objective

  • Understand the need for thread synchronization mechanisms
  • Learn the basic properties of semaphores and mutexes
  • Practice through hands-on exercises how to use semaphores and mutexes for thread synchronization
Register an account
Already have an account? Log in
(All fields are required unless specified optional)

Forgot your password?
Enter your email address, and we will send a link to reset your password.