• 如果碰巧已经锁定互斥对象调用进入睡眠状态

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

    youdao

  • 可以推测到,当线程试图锁定一个未加互斥对象时,POSI x线程同意锁定不会使线程进入睡眠状态

    As you may have guessed, the POSIX threads library will grant a lock without having put the thread to sleep at all if a thread tries to lock an unlocked mutex.

    youdao

  • 对已锁定互斥对象调用pthread _ mutex_lock的所有线程进入睡眠状态,这些睡眠的线程将“排队访问这个互斥对象。

    All threads that go to sleep from calling pthread_mutex_lock on an already-locked mutex will "queue up" for access to that mutex.

    youdao

  • 同样地线程a正锁定互斥对象时,如果线程c试图锁定互斥对象的话,线程c也临时进入睡眠状态

    Likewise, if thread "c" tries to lock the mutex while thread "a" is holding it, thread "c" will also be put to sleep temporarily.

    youdao

  • 如果线程a试图锁定互斥对象,而此时线程b锁定同一个互斥对象时,线程a就将进入睡眠状态

    If thread "a" tries to lock a mutex while thread "b" has the same mutex locked, thread "a" goes to sleep.

    youdao

  • 如果线程a试图锁定互斥对象,而此时线程b锁定同一个互斥对象时,线程a就将进入睡眠状态

    If thread "a" tries to lock a mutex while thread "b" has the same mutex locked, thread "a" goes to sleep.

    youdao

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

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

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