mutex lock的意思|示意
互斥锁
mutex lock的网络常见释义
互斥锁 我们可以通过使用互斥锁(Mutex Lock)来消除POSIX线程所存在的线程冲突。Mutex(互斥的简写)是POSIX所提供的两种线程同步方法之一(另外一种方法是条件变量,它将在下...
mutex lock相关短语
1、 Mutex lock mechanism 互斥锁机制
2、 mutex lock ordering rule 互斥锁加锁顺序规则
3、 Mutex Lock and Reentrant Lock 互斥锁和可重入锁
mutex lock相关例句
The calls act as a warning to other threads to go to sleep and wait their turn for the mutex lock.
这两个函数调用的作用就是警告其它线程,要它们继续睡眠并等待轮到它们对互斥对象加锁。
A thread attempting to re lock this mutex without first unlocking it shall return with an error.
如果线程在不首先解除锁定互斥锁的情况下尝试重新锁定该互斥锁,则会返回错误。
Likewise, if thread "c" tries to lock the mutex while thread "a" is holding it, thread "c" will also be put to sleep temporarily.
同样地,当线程a正锁定互斥对象时,如果线程c试图锁定互斥对象的话,线程c也将临时进入睡眠状态。
Your code could repeatedly lock and unlock the mutex, checking for any changes to the value.
代码可以反复对互斥对象锁定和解锁,以检查值的任何变化。
Finally, the first thing any thread tries to do when waking up from pthread_cond_wait is re-lock the mutex it unlocked when initially called.
最后,当一个线程从调用pthread_cond_wait而被唤醒时,要做的第一件事就是重新锁定它在最初调用时解锁的那个互斥量。
Uncontested unlock operations return a locked mutex to the thread lock cache.
非争用的解锁操作将一个锁定的互斥锁返回给线程锁定缓存。