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
    简体中文
  • 第 8 课 – 线程同步

    概览

    在多线程应用程序中,当多个线程并发运行时,就会产生对线程同步的需求。在本课程中,我们将解释线程同步的必要性,以及如何使用信号量 (semaphores) 和互斥量 (mutexes) 作为线程同步机制。

    在练习部分,我们将重点介绍两个常见的线程同步问题,并演示如何使用信号量和互斥量来解决这些问题。

    目标

    • 了解线程同步机制的必要性
    • 学习信号量和互斥量的基本属性
    • 通过动手练习来实践如何使用信号量和互斥量进行线程同步

    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.