青年中文青年中文

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.