• 然而唤醒等待队列所有睡眠进程有时并不方便

    However, it is not always convenient to wake up all sleeping processes in a wait queue.

    youdao

  • 信号Win32 中,发出信号唤醒等待那个信号的所有线程

    Signaling: In Win32, signaling a semaphore wakes up all the threads that are waiting on the semaphore.

    youdao

  • 例如如果两个多个进程正在等待互斥访问某一释放资源唤醒等待队列进程有意义。

    For instance, if two or more processes are waiting for exclusive access to some resource to be released, it makes sense to wake up just one process in the wait queue.

    youdao

  • 一种做法因为这会减少唤醒之后线程等待时间

    This is good practice, because the waiting time of the reader thread is reduced after wake-up.

    youdao

  • 比如一个正在等待货物加入中的线程,当它被唤醒可能发现链表是空的。

    For instance, a thread waiting until items are added to a linked list may wake up to find the list empty.

    youdao

  • 等待事件发生时,进程显式唤醒呼叫唤醒

    When the event occurs that it is waiting for, the process is awaken by the explicit wake-up call.

    youdao

  • 一旦条件满足,还需要一种方法唤醒等待满足特定条件而睡眠线程

    Once the condition is met you need a method to wake up the thread (s) that are waiting for that particular condition to become true.

    youdao

  • 如果信号从零开始增加,而且pthread_cond中任何线程被阻塞,那么请等待这个信号,因为其中一个唤醒

    If the semaphore value is incremented from zero and there is any threads blocked in the pthread_cond, wait for the semaphore because one of them is awakened.

    youdao

  • 一个典型MacOSX应用程序大部分时间用在kevent系统调用上,等待内核事件唤醒

    A typical Mac OS X application spends most of its time in the kevent system call, waiting for an event from the kernel to wake it up.

    youdao

  • 如果另一个线程条件变量调用pthread_cond_signal,那么那个等待这个条件而被阻塞的线程就会被唤醒

    If another thread calls pthread_cond_signal on a condition, then a thread that was waiting on that condition variable is woken up.

    youdao

  • 如果另一个线程对这个条件变量调用pthread_cond_broadcast,那么所有等待这个条件而阻塞的线程都会被唤醒

    If another thread calls pthread_cond_broadcast on a condition, then all threads waiting on that variable are woken up.

    youdao

  • 这个命令将立即删除信号及其数据结构唤醒所有正在等待进程(如果发生错误,则返回将errno设置EIDRM)。

    This command immediately removes the semaphore set and its data structures, awakening all waiting processes (with an error return and errno set to EIDRM).

    youdao

  • 接着开始等待直到建立了新的连接或者一个线程将它唤醒,或者另一个线程将原来阻塞线程中断

    It then waits until a new connection is made, another thread wakes it up, or another thread interrupts the original blocked thread.

    youdao

  • 75年前这个国家依然充满希望,工厂矿场磨坊都等待工人们施展魔力,工业沉睡唤醒

    The nation was still a setting for optimism 75 years ago, the factories and mines and mills awaiting the workers whose magic touch would awaken industries from their slumber.

    youdao

  • 这么唤醒所有等待条件变量_ cond线程;读线程现在隐式地争夺互斥

    Doing so awakens all the reader threads that were waiting on the condition variable _cond; the reader threads now implicitly compete for the mutex lock as and when it is released.

    youdao

  • 每个孤独内心深处,都一个光明温暖壁炉。在那里,一种精神等待唤醒

    Within everyone's inner solitude, there is that bright and warm hearth where the spirit dwells waiting to be roused.

    youdao

  • 一个人孤独内心深处,都一个光明温暖的壁炉。在那里,一种精神等待唤醒

    Within everyone's inner solitude , there is that bright and warm fireplace where the spirit dwells waiting to be roused .

    youdao

  • 从此唤醒自己已经失去单纯邮寄等待之后心情

    Since then wake up his early already lose simple mail after waiting for the mood.

    youdao

  • 世界上赢家输家,存在于你们每个心中,深深藏内心深处,有个等待唤醒胜利者。

    There are two kinds of people in this world: winners and losers. Inside each and every one of you, at the very core of your being, is the winner waiting to be awakened and unleashed upon the world.

    youdao

  • 他们放在柔软草地上等待和风唤醒她。

    They put her on the soft grass and waited for the gentle wind to waken her.

    youdao

  • 你们所有……每个最真本质一个等待唤醒释放力量的赢家

    Inside each and everyone of you, in the very core of your being is a winner waiting to be awakened and released upon the world.

    youdao

  • 如果所有线程对象等待会选择唤醒其中一个线程。

    If any threads are waiting on this object, one of them is chosen to be awakened.

    youdao

  • 以前降霜清晨看到过路上一些它们身子还有一部分麻木不灵活,还在等待太阳出来唤醒它们

    I had previously seen the snakes in frosty mornings in my path with portions of their bodies still numb and inflexible, waiting for the sun to thaw them.

    youdao

  • 沉睡等待身体治愈,可是当智能机器唤醒的时候,却对我不再需要具身体了,它们已经保存了我的意识。

    I went to sleep expecting to be cured. Instead, the ai woke me and said I no longer needed my body. It downloaded my mind, and now I see.

    youdao

  • 实现父子进程同步父进程试图一空管道读取数据时,便进入等待状态直到进程数据写入管道返回唤醒

    Son process to achieve the synchronization, when the parent tried to read an empty pipe, they enter the wait state until the child process to write data pipeline to return only after its wake.

    youdao

  • 每个等待集合上都持有当前对象等待但尚未唤醒或是释放阻塞线程

    Each set holds threads blocked by wait on the object until corresponding notifications are invoked or the waits are otherwise released.

    youdao

  • 线程责任释放资源唤醒队列中的第一个等待队列,并修改队列标题然后线程放到等待队列。

    It is the responsibility of the thread releasing the resource to awake the first thread on the queue, change the head of the queue, and put the thread on the ready queue.

    youdao

  • 线程责任释放资源唤醒队列中的第一个等待队列,并修改队列标题然后线程放到等待队列。

    It is the responsibility of the thread releasing the resource to awake the first thread on the queue, change the head of the queue, and put the thread on the ready queue.

    youdao

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

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

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