mutexes
互斥体(Mutex): 表现互斥现象的数据结构,也被当作二元信号灯。一个互斥基本上是一个多任务敏感的二元信号,它能用作同步多任务的行为,它常用...
基于20个网页-相关网页
互斥元、互斥体 mutex
递归互斥体 recursive mutex
快速互斥体 fast mutex
线程互斥体 Thread mutex
否则,线程将阻止,直到清除互斥体。
Otherwise, the thread blocks until the mutex clears.
youdao
显示线程在更新显示之前必须等待清除互斥体。
The display thread must wait for the mutex to be clear before updating the display.
更新线程将在两个坐标全部处理完之后清除互斥体。
It would clear the mutex after both coordinates had been processed.
互斥体实现了“互相排斥”(mutual exclusion)同步的简单形式(所以名为互斥体(mutex))。互斥体禁止多个线程同时进入受保护的代码“临界区”(critical section)。
详细内容
应用推荐
模块上移
模块下移
不移动