• Only one task may hold the mutex at a time, and only this task can unlock the mutex.

    只能任务持有互斥锁,并且只有这个任务可以解锁互斥锁。

    youdao

  • Fear not, you'll still have access to the raw mongrel request if you want to do fancy stuff like streaming or deferred rendering outside the mutex.

    不用害怕如果互斥以外一些奇特事情比如流处理延迟呈现,您仍然可以访问原始mongrel请求

    youdao

  • Also called a mutex.

    互斥信号。

    youdao

  • The error is not due to the locked mutex.

    那个错误不是归咎于锁定的互斥。

    youdao

  • HHandle is the pointer to the mutex handle.

    hHandle指向互斥句指针

    youdao

  • After a mutex is locked, it must be unlocked.

    一个互斥锁被锁定后必须解锁

    youdao

  • Using a mutex ensures that this doesn't happen.

    使用互斥对象能够保证这种情形不会发生

    youdao

  • Main thread: Lock mutex and increment threadcount.

    主线程:锁定互斥量增量threadcount

    youdao

  • The function waits until the mutex becomes unlocked.

    函数等待互斥解锁

    youdao

  • This method allows you to set mutex object attributes.

    这个方法允许设置互斥信号量对象的相关属性

    youdao

  • Listing 3 illustrates a static way of setting a mutex.

    清单3介绍设置互斥静态方法

    youdao

  • This creates a new mutex and initializes the structure.

    将创建一个新的互斥锁初始化结构

    youdao

  • This function gets a pointer to the mutex it is trying to lock.

    这个函数会获得一个指向正在尝试锁定互斥指针

    youdao

  • Identifying architecture-specific changes such as mutex locking.

    确定特定体系结构的变化比如互斥锁定(mutex locking)。

    youdao

  • Pthread_mutex_lock accepts a single pointer to a mutex to lock.

    pthread _ mutex_lock接受一个指向互斥对象指针作为参数以将其锁定。

    youdao

  • Here is another Win32 sample code to acquire mutex between processes.

    这里获得进程互斥的另一Win32示例代码

    youdao

  • Mutual exclusion can be achieved with the use of a semaphore or mutex.

    互斥现象使用信号灯互斥完成

    youdao

  • If the mutex already happens to be locked, the caller will go to sleep.

    如果碰巧已经锁定互斥对象调用进入睡眠状态

    youdao

  • The function returns when the mutex is locked, or if an error occurred.

    互斥锁定或者发生错误时,函数返回

    youdao

  • The setup for a lock operation involves allocation of a prelocked mutex.

    锁定操作设置涉及分配预先锁定互斥锁。

    youdao

  • The mutex object must be declared; once declared, it must be initialized.

    互斥对象必须声明;声明后必须初始化

    youdao

  • If the calling thread has no ownership of this mutex, this function fails.

    如果调用线程并不拥有这个互斥信号量,那么这个函数执行将会失败

    youdao

  • It also checks whether the mutex is unlocked at that time (see Listing 9).

    会检查互斥那个时刻是不是解除锁定的(清单9)。

    youdao

  • Another way of setting the mutex kind is by using a mutex attribute object.

    设置互斥另一种方式使用互斥属性对象

    youdao

  • Uncontested unlock operations return a locked mutex to the thread lock cache.

    非争用解锁操作一个锁定互斥锁返回线程锁定缓存

    youdao

  • This call might fail if the calling thread does not own the mutex object.

    如果进行调用的线程并不拥有那个互斥对象,则这个调用可能会失败

    youdao

  • If another thread locks the mutex, the pthread_mutex_trylock will not block.

    如果另一个线程锁定那个互斥,则pthread _ mutex _ trylock不会阻塞。

    youdao

  • You create and initialize a mutex in one operation through the DEFINE_MUTEX macro.

    可以通过DEFINE _ mutex使用一个操作创建初始化互斥锁。

    youdao

  • So, let's say we go ahead and add a mutex that surrounds the random number generator.

    所以我们更进一步,在产生随机数地方一个互斥量。

    youdao

  • Mutexes have names, and only one mutex of a given name can exist on a machine at a time.

    互斥名称并且给定名称互斥同一机器同一时刻只能存在一个。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定