mutex信息详情

mutex发音

意思翻译

n.互斥;互斥元,互斥体;互斥量

相似词语短语

smuggled define───走私定义

pitches in music───音高

tall trees catch much wind───树大招风

forasmuch definition───for asmuch定义

disuse muscle weakness───废用性肌无力

peumus boldus───损失粗体

mud brick───泥砖

dissimulation synonyms───伪装同义词

demurrer pdf───异议pdf

the mummy───木乃伊(电影名);盗墓迷城; [电影]木乃伊

双语使用场景

Also called a mutex.───也叫互斥信号。

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 请求。

Only one task may hold the mutex at a time, and only this task can unlock the mutex.───一次只能有一个任务持有互斥锁,并且只有这个任务可以解锁互斥锁。

The slot's connection is checked to see if it is blocked or disconnected, and then the connection's mutex is unlocked.───插槽的连接被检查,看它是否被阻塞或断开,然后,连接的互斥体被解锁。

The name of the system mutex whose access control security rules are to be retrieved.───要检索其访问控制安全性规则的系统mutex的名称。

Then, when a thread is ready to terminate, it locks the mutex, decrements threadcount, and unlocks the mutex.───当一个线程准备终止时,它再次锁定互斥量,减量threadcount,然后解锁互斥量。

The code between the lock and unlock calls to the mutex, is referred to as the critical section.───在打开和关闭互斥调用之间的代码称为临界域。

Therefore, at the end of it all, you now have two reader threads, both waiting on the condition variable, and the mutex is unlocked.───因此,最后两个读线程都等待条件变量,互斥锁没有被锁住。

If the calling thread has no ownership of this mutex, this function fails.───如果调用线程并不拥有这个互斥信号量,那么这个函数的执行将会失败。

英语使用场景

To help minimize mutex allocation and locking time, the JVM manages a global lock cache and a per-thread lock cache where each cache contains unallocated pthread_mutexes.

Some commonly-used process mutex exclusive methods are analyzed in this paper. It advances a no preemptive method which is based on task priority and analyzes its security and high-efficiency.

Next it releases the signal's mutex, before invoking the combiner to iterate through the slot list.

A mutex in the thread-specific cache is acquired from the global lock cache.

To "lock" a mutex means to wait until the mutex is unowned, and then make it owned by the current thread.

However, a mutex should accompany each condition variable.

Features like process-shared mutexes are also available on Linux, and thus the Solaris code related to IPC mechanisms using pthread mutex locks and condition variable can be used on Linux.

Be aware, if you hold a mutex in your combiner while dereferencing slot call iterators, you run the risk of deadlocks and recursive locking if any of the slots cause additional mutex locking to occur.

POSIX provides the mutex function to create critical sections that enforce exclusive access to an object (a piece of memory) by a single thread.