This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] CC1311P3:互斥量、唤醒

Guru**** 2771175 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/1616801/cc1311p3-mutex-wakeup

器件型号: CC1311P3

您好、

我得到了 2 个线程、两个线程都使用相同的互斥量来确保数据都处于活动状态时的安全。

启动时、两者都处于睡眠状态 (7uA)。

因此、两者中的互斥 量都会被释放。

其中之一是在 GPIO 上唤醒、并在互斥量上阻止自身。

为什么会发生? 互斥量不被其他 thred 使用,并且是解锁的,工作线程在自使用后释放它。

此致

Marek