• Could not access console mutex.

    未能访问控制台互斥标志

    youdao

  • The mutex kind can be set in two ways.

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

    youdao

  • The problem with a mutex-based approach.

    基于互斥锁的方法问题

    youdao

  • Why mutex at all?

    为什么要用互斥对象?

    youdao

  • But you can also create a mutex dynamically.

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

    youdao

  • Mutex me!

    互斥吧!

    youdao

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

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

    youdao

  • However, a mutex should accompany each condition variable.

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

    youdao

  • I would argue that a mutex is probably overkill here.

    认为一个互斥锁在这里可能杀鸡用牛刀了

    youdao

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

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

    youdao

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

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

    youdao

  • Here is a very good article regarding the Mutex solution.

    下面关于一个非常好的文章互斥的解决方案

    youdao

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

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

    youdao

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

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

    youdao

  • In this model no task currently has ownership of the mutex.

    这个模型中,所有被唤醒任务持有互斥锁。

    youdao

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

    互斥简单但是一些规则必须牢记

    youdao

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

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

    youdao

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

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

    youdao

  • If the mutex is held (locked), then one is returned; otherwise, zero.

    如果互斥持有(锁定),那么就返回1;否则,返回0

    youdao

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

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

    youdao

  • It would clear the mutex after both coordinates had been processed.

    更新线程两个坐标全部处理完之后清除互斥体。

    youdao

  • Here's the sample code for creating a mutex (see Listings 6 and 7 below).

    这里创建互斥示例代码(下面67)。

    youdao

  • For example, multiple threads can each have a handle to a mutex object.

    比如多线程个线程可以一个互斥锁的句柄

    youdao

  • When you call pthread_mutex_trylock() you'll attempt to lock the mutex.

    调用 pthread_mutex_trylock() 时尝试锁定互斥对象。

    youdao

  • Difference between Binary Semaphore and Mutex in the toilet key example?

    厕所重要的例子二进制信号互斥区别

    youdao

  • That means that wrapping a mutex around the request is useless overhead.

    意味着请求一个互斥无用开销

    youdao

  • If possible, just design your program never to re-lock a mutex it already has.

    如果可能设计程序决不锁定一个已经锁定的互斥量。

    youdao

  • Finally, you can check the status of a mutex through a call to mutex_is_locked.

    最后可以通过调用mutex_is_locked检查互斥锁状态

    youdao

  • If the function succeeds, the return value is a handle to the mutex object.

    创建成功之后返回一个互斥对象句柄

    youdao

  • How to use named mutex to ensure only one instance of the application to run.

    如何利用命名互斥对象保证应用程序只有一个实例运行。

    youdao

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

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

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