查询
1 词典释义:
mutex
时间: 2025-04-14 22:57:28
英 [m'ju:teks]
美 [m'juteks]

n. 互斥(体)…

双语例句
  • Only one task may hold the mutex at a time, and only this task can unlock the 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 请求。

  • The mutex kind can be set in two ways.

    可以以两种方式设置互斥的类型。

  • Also called a mutex.

    也叫互斥信号。

  • The error is not due to the locked mutex.

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

  • The problem with a mutex-based approach.

    基于互斥锁的方法的问题。

  • Why mutex at all?

    为什么要用互斥对象?

  • But you can also create a mutex dynamically.

    但是还可以动态地创建互斥对象。

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

    当一个互斥锁被锁定后,它必须被解锁。

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

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

  • Main thread: Lock mutex and increment threadcount.

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

  • Mutex me!

    互斥我吧!

  • The function waits until the mutex becomes unlocked.

    函数会等待互斥被解锁。

  • This method allows you to set mutex object attributes.

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

  • However, if the mutex is locked this call won't block.

    然而,如果互斥对象已锁定,这个调用也不会阻塞。

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

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

  • This creates a new mutex and initializes the structure.

    这将创建一个新的互斥锁并初始化其结构。

  • However, a mutex should accompany each condition variable.

    不过,每个条件变量都应该伴有一个互斥。

  • Also note that both condition variables use the same mutex.

    还要注意,两个条件变量使用相同的互斥锁。

  • This structure can be used to set various mutex attributes.

    这个结构可用来设置各种互斥对象属性。

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

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

  • No two threads can have the same mutex locked at the same time.

    两个线程不能同时对同一个互斥对象加锁。

  • If Program a creates a mutex, Program B can see that same mutex.

    如果程序A创建一个互斥,则程序b可以使用同一个互斥。

  • The mutex is simple, but there are some rules you should remember.

    互斥锁很简单,但是有一些规则必须牢记。

  • The data structure is in effect "frozen" until the mutex is unlocked.

    那个数据结构实际上是“冻结”了,直到互斥对象被解锁为止。

  • In either case, when control is returned, the caller holds the mutex.

    无论在哪种情形中,当控制被返回时,调用者将持有互斥锁。

  • This way, the change to add mutex code only has to happen in one place.

    这样做使增加互斥代码时只需要在一个子程序中进行改动。

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

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

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

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

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

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

近义词
n. 互斥;互斥元,互斥体;互斥量