• 计数值成为零时信号对象状态成为non - signaled。

    When the count reaches zero, the state of the semaphore object becomes non-signaled.

    youdao

  • Linux使用pthread_condition_init调用当前进程创建信号对象,在其中维持一个最大值之间的计数值。

    Linux USES the pthread_condition_init call to create a semaphore object within the current process that maintains a count between zero and a maximum value.

    youdao

  • 科学家们让实验对象一个通过欺骗搭档游戏时他们注意来自杏仁核负面信号开始减少

    When scientists had their subjects play a game in which they won money by deceiving their partner, they noticed the negative signals from the amygdala began to decrease.

    youdao

  • 信号种有效灵活的“粘合剂”,它们把程序中的对象“粘合”在一起

    Signals are the efficient and flexible glue that tie the objects in your program together.

    youdao

  • 对象设置发出信号或者超时时间段结束时这个方法得到通知。

    The method is signaled when the object is set to signal or the time out interval is finished.

    youdao

  • 事件对象调用等待函数会阻塞调用线程直到状态设置信号状态为止。

    The wait function on the event object blocks the calling thread until its state is set to signaled state.

    youdao

  • 这个函数使用一个互斥对象句柄一直等待,直到变为信号状态超时为止。

    This function takes the handle to the mutex object and waits until it is signaled or timeout occurs.

    youdao

  • 信号除了对象相互连接之外,与事件非常相似

    Signals are a lot like events, except that they connect objects to one another.

    youdao

  • 然后循环查询自己的信号处理程序之间的内部映射叫做回调调用注册到指定对象指定信号的处理程序。

    The main loop then looks through its internal mapping table between its signals and handlers, also called callbacks, and calls the handlers registered for the given signal on the given object.

    youdao

  • 使用信号插槽灵活可维护的方式控制对象通信使用脆弱回调风格容易

    With signals/slots, it is much easier to control communications between objects in a flexible and maintainable manner than it is with a fragile callback style.

    youdao

  • 事件发生时,这个事件对应对象发出信号通知循环事件已经发生

    When an event occurs, the object associated with that event emits a signal to inform the main loop that it has occurred.

    youdao

  • 一个等待函数中使用同步对象时,等待函数就会阻塞调用线程直到同步对象状态设置信号为止

    When the synchronization object is used in one of the wait functions, the wait function blocks the calling thread until the state of the synchronized object is set to signaled.

    youdao

  • 这个函数使用一个信号对象句柄作为参数,一直等待下去,直到状态变为信号状态超时为止。

    This function takes the handle to the semaphore object and waits until it is signaled or a timeout occurs.

    youdao

  • 但愿对象能够解读这些信号的情节就是他们庆幸最终找到了,但你却还是继续吧!”

    Hopefully, your date will be able to read your signals, but in the worst case scenario where they are saying they are so happy to have found you at last and you are thinking, "check please!"

    youdao

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

    This method allows you to set mutex object attributes.

    youdao

  • 然后创建最小限度的 D-BUS对象这个对象每秒广播一个信号

    Then a minimal D-BUS object is created and every second a signal is broadcast from the object.

    youdao

  • 男性展现更多动物信号摆出拥有者的姿态潜在对象留下深刻印象。

    A man may exhibit more animalistic signals or ownership gestures, to impress a potential mate.

    youdao

  • 然后第一对象发出信号由于状态内部变化)时,第二对象捕获变化作出适当的反应。

    Then, when the first object "emits" the signal (due to an internal change in state), the second object "catches" this change and reacts appopriately.

    youdao

  • 类似地如果需要访问发出信号对象就要使用第一参数这个具体回调button

    Similarly, if you need to access the object that emitted the signal, you use the first parameter, which is button in this specific callback.

    youdao

  • 相反服务器可以通过调用Work对象release方法资源适配器发信号

    Instead, the server can signal to the resource adapter by calling the release method on the Work object.

    youdao

  • 自动重置事件(auto reset event)中,对象状态一直维持为有信号状态,直到单个正在等待线程释放为止。

    In the auto reset event, the state of the object remains signaled until a single waiting thread is released.

    youdao

  • 但是我们如何同一个信号连接某个特定对象方法呢?

    But how would we connect this same signal to the method of a particular object? Easy — simply use the following template.

    youdao

  • 函数SetEvent()用来事件对象状态设置信号状态。

    The function SetEvent() is used to set the state of the event object to signaled state.

    youdao

  • 手工重置事件(manual reset event)中,对象状态会一直维持为有信号状态,直到使用ResetEvent函数式地重新设置它为止。

    In the manual reset event, the state of the object remains signaled until explicitly reset using the ResetEvent function.

    youdao

  • 本文是这一系列第 2部分,这篇文章信号事件入手,介绍有关同步对象原语的内容。

    This second part of the series has introduced synchronization objects and primitives, starting with semaphores and events.

    youdao

  • 上面代码段中我们窗口对象的“destroy信号连接gtk_main _ quit函数

    In the above code snippet, we connect the "destroy" signal of our main window object to the gtk_main_quit function.

    youdao

  • 类似地第二把cb _ button_click函数连接button对象clicked信号

    Similarly, the second line connects the cb_button_click function to the clicked signal on the button object.

    youdao

  • 第一把cb_delete函数连接window对象delete - event信号

    The first line connects the cb_delete function to the delete-event signal on the window object.

    youdao

  • 研究带头人MirjamTuk博士大脑控制信号没有特定对象下达任务但是会“无意识增加其他任务的控制。

    Dr Mirjam Tuk, who led the study, said that the brain's "control signals" were not task specific but result in an "unintentional increase" in control over other tasks.

    youdao

  • 一个已经设置信号状态的事件对象再次执行该函数是无效的。

    Setting an already-set event object has no effect .

    youdao

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

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

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