What is the translation of " MUTEX " in Chinese?

Verb
一个mutex
一个互斥锁

Examples of using Mutex in English and their translations into Chinese

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
To use a mutex.
反之应该使用mutex
A Mutex is NonCopyable.
Mutex类是不可复制的。
Tries to open a Mutex.
将尝试打开3个Mutex.
The mutex class is non-copyable.
Mutex类是不可复制的。
It is better to utilize a mutex.
反之应该使用mutex
A mutex contains two functions, lock and unlock.
Mutex数据类型有两个方法,Lock和Unlock。
Defining and initializing a mutex.
定义和初始化mutex.
When to use mutex and when to use semaphore?
那什么时候该使用Semaphore,什么时候使用Mutex??
You can determine which thread is holding mutex A:.
你可以确定持有mutexA的线程:.
A mutex has two states; locked and unlocked.
一个互斥锁system有两种状态:locked和unlocked.
What is the difference between mutex and semaphore.
Mutex和semaphore有什么区别?
When to use mutex and when to use semaphore?
Linux-什么时候应该使用mutex,什么时候应该使用semaphore?
What are the differences between Mutex& Semaphore?
Mutex和semaphore有什么区别??
To create the mutex lock, you declare and initialize a pthread_mutex_t structure.
为了新建一个互斥锁,你声明并初始化一个pthread_mutex_t的结构。
For that, we can use the Mutex<T> type!
为此,我们可以使用Mutex<T>类型。!
Another thing to note is that Rust can't prevent us from allkinds of logic errors when using Mutex<T>
另一个值得注意的细节是Rust不能避免使用Mutex<T>的全部逻辑错误。
A calling thread must not own the mutex prior to calling lock or try_lock.
调用方线程在调用lock或try_lock前必须不占有mutex
Let's now try toshare a value between multiple threads using Mutex<T>
现在让我们尝试使用Mutex<T>在多个线程间共享值。
As with many types, we create a Mutex<T> using the associated function new.
像很多类型一样,我们使用关联函数new来创建一个Mutex<T>。
Another detail to note is that Rust can't protect you from allkinds of logic errors when you use Mutex<T>
另一个值得注意的细节是Rust不能避免使用Mutex<T>的全部逻辑错误。
The behavior of a program is undefined if a mutex is destroyed while still owned by some thread.
程序的行为是不确定的,如果一个recursive_mutex被破坏,同时还拥有由某个线程。
TreasureHunt was first discovered by researchers at theSANS Institute who noticed the malware generating mutex names to evade detection.
TreasureHunt首先被SANS研究所的研究人员发现,他们注意到恶意软件会生成互斥体名称以逃避检测。
Several system frameworks provide support for mutex locks, although they are all based on the same underlying technology.
系统的几个框架提供了对互斥锁的支持,虽然它们都是基于相同的底层技术。
At first, it creates a Mutex and checks if the process already exists to ensure only one process of this program is running.
首先,它创建一个Mutex并检查该进程是否已存在,以确保只运行该程序的一个进程。
We create a counter variable to hold an i32 inside a Mutex<T>, as we did in Listing 16-12.
这里创建了一个counter变量来存放内含i32的Mutex<T>,类似示例16-12那样。
The act of locking and releasing this mutex is abstracted by the Python functions PyEval_AcquireLock and PyEval_ReleaseLock.
互斥的锁定和释放是通过PyEval_AcquireLock和Eval_ReleaseLock来描述的。
To implement the mutual exclusion capability of monitors,a lock(sometimes called a mutex) is associated with each object and class.
为了实现管程的互斥能力,一个锁(有时也称为一个互斥锁)关联每个对象和类。
This causes Python to enable its internal mutex lock mechanism, used to serialize access to critical sections of code within the interpreter.
这导致Python启用其内部的互斥锁机制,用于解释器内代码关键部分的系列化访问。
Listing 16-15: Using an Arc<T> to wrap the Mutex<T> to be able to share ownership across multiple threads.
示例16-15:使用Arc<T>包装一个Mutex<T>能够实现在多线程之间共享所有权.
Results: 29, Time: 0.0465

Top dictionary queries

English - Chinese