• If you can do this, your threaded code will be really efficient and it won't tie up valuable mutex locks.

    如果能够做到一点,线程代码非常高效的,并且不会占用宝贵的互斥对象

    youdao

  • Clearly, pushing data into the queue is akin to appending data to the list, and this operation must be guarded by mutex locks.

    显然数据放到队列像是把数据添加列表中必须使用互斥锁保护这个操作

    youdao

  • While blocked, the managed task continues to hold any Shared resources it acquired during the course of its dispatch (for example, storage resources, task-level resources, and mutex locks).

    阻塞情况下,托管任务继续持有调度期间获得所有共享资源(例如存储资源、任务级别的资源互斥锁定)。

    youdao

  • This routine does something new; it locks a mutex called, creatively enough, count_mutex.

    这个了一些新的工作;锁定一个叫做count _ mutex互斥量。

    youdao

  • The first thread locks the mutex and appends data to the queue, while the other threads wait for their turn.

    第一线程锁住互斥数据添加队列中其他线程等待轮到它们操作。

    youdao

  • If another thread locks the mutex, the pthread_mutex_trylock will not block.

    如果另一个线程锁定那个互斥,则pthread _ mutex _ trylock不会阻塞。

    youdao

  • The middleware locks a mutex at the beginning of the request, and unlocks the mutex when the request finishes.

    这个中间件请求开始之前加一个互斥,在请求结束之后解开这个锁。

    youdao

  • Multiple locks of this mutex shall require the same number of unlocks to release the mutex before another thread can acquire the mutex.

    多次锁定互斥需要进行相同次数解除锁定才可以释放锁,然后其他线程才能获取该互斥锁。

    youdao

  • Multiple locks of this mutex shall require the same number of unlocks to release the mutex before another thread can acquire the mutex.

    多次锁定互斥需要进行相同次数解除锁定才可以释放锁,然后其他线程才能获取该互斥锁。

    youdao

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

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

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