Feedback
Feedback

If you are having issues with the exercises, please create a ticket on DevZone: devzone.nordicsemi.com
Drag & Drop Files, Choose Files to Upload 您最多可以上传 2 个文件。
  • 简体中文
    Eng
    简体中文
  • 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

    Switch language?

    Progress is tracked separately for each language. Switching will continue from your progress in that language or start fresh if you haven't begun.

    Your current progress is saved, and you can switch back anytime.

    Register an account
    Already have an account? Log in
    (All fields are required unless specified optional)

    • 8 or more characters
    • Upper and lower case letters
    • At least one number or special character

    Forgot your password?
    Enter the email associated with your account, and we will send you a link to reset your password.