当事件发生时,与这个事件对应的对象发出信号,通知主循环事件已经发生。
When an event occurs, the object associated with that event emits a signal to inform the main loop that it has occurred.
不同于循环时间与不可逆时间,壮观时间是一种制造伪事件的积木。
Different from the circular time and the irreversible time, the spectacular time is a kind of toy bricks producing pseudo-events.
答:当流程中大多数步骤都顺序执行,而只有数量有限的循环或事件处理程序时,应该使用bpel流程。
Answer: You should use the BPEL process when most steps in the process are sequential, with only limited number of loops or event handlers.
本质上,这个策略是创建带回调的一串窗口小部件,然后进入一个主事件循环。
Essentially, the strategy is to create a bunch of widgets with callbacks, then enter a main event loop.
在循环之后,定义接收活动,该活动将等待最后一个事件处理程序实例调用。
After the loop define a receive activity that waits until it is invoked by the last event handler.
循环和事件处理程序通常意味着控制流回退,这表明状态机是一种更合适的实现方法。
Loops and event handlers usually imply that the control flow is going back, which suggests that state machine is a more suitable implementation.
最后要做的一件事,就是激活poa,使客户机请求开始排队,并强制服务器输入其事件循环,以接收这些传入的请求。
The last thing we need to do is activate our POA to start queuing client requests and force the server to enter its event loop to receive those incoming requests.
这里,我将窗口小部件设置为可视的,然后启动GTK +主事件循环。
Here I set the widgets to be visible, and start the GTK + main event loop.
这些项目的状态由事件驱动,而且通常具有循环逻辑(返回以前的状态)。
These are items that have states that are driven by events, and typically have loop-based logic (returning to previous states).
定义启动所需数量的事件处理程序的循环。
Define a loop that starts the required number of event handlers.
当命令行参数不够用时,下一步是编写一个事件循环。
When command-line arguments are not enough, the next step is to write an event loop.
具有循环状态和可能拥有事件循环的应用程序或其一部分在概念上以业务状态机表示。
Applications, or part thereof, which have recurrent states and can have event loops, are ideally represented by business state machines.
例如,事件循环,多线程,GUI设计,等等。
For example, the events loop, multithreading, GUI design, etc.
这可以通过修改上述示例的循环来完成,以便调用活动直接调用外部服务,而不是调用事件处理程序。
This can be accomplished by modifying the loop of the example above so that the invoke activity invokes the external service immediately instead of invoking an event handler.
请注意,很容易理解和修改这个扩展,而且该扩展可以与前面的非解析示例一样出色地完成工作(请参阅带命令行开关的事件循环)。
Note that the extension is easy to understand and modify, and that it can do the job just as well as the previous, non-parsing example (see the Event loop with command-line switches).
这样,主范围内的循环和事件处理程序中的逻辑就可以控制事件处理程序的最终数目。
By doing so, the loop in the main scope and logic in the event handler controls the final number of event handler instances.
人类对心脏的了解是从某个事件开始的。直到1615年,英格兰皇家物理学家威廉.哈维的研究首次证实了心脏和血液循环是有关系的.
It wasn't until 1615 -- and the study of the heart by England's royal-court physician William Harvey -- that a connection was made between the heart and the circulation of blood.
其中一个线程然后会对运行文件调用SPU_RUNioctl系统调用,而其他线程则可以对邮箱文件和其他可能的文件描述符执行一个事件循环。
One of the threads then calls the SPU_RUN ioctl on the run file, while the other runs in an event loop on the mailbox files and potentially other file descriptors.
这个Events树列出了所有的测试执行事件,比如脚本起始和终结、循环、调用、通知,或者结果。
The Events tree lists all test execution events, such as the script start and end, loop, invocation, message, or verdict.
带有命令行开关的事件循环。
创建所需的网络监听套接字,注册在执行期间要调用的事件,然后启动主事件循环,让libev处理过程的其余部分。
You create the necessary network listening sockets, register the events to be called during execution, and then start the main event loop with the libev handling the rest of the process.
现在,通过在简单事件循环和简单用户界面的UI功能基础上再增加一些功能,我们将具体展示Parse:RecDescent文法所具有的特定能力。
We will now showcase specific abilities of the Parse: : RecDescent grammar by adding on to the UI features from a simple event loop and a simple user interface.
该脚本扩展了带开关的简单事件循环,将Parse:RecDescent用作解析引擎。
This script extends the simple event loop with switches to use Parse: : RecDescent as the parsing engine.
清单10展示了读取cnee事件后主处理循环的后面部分。
Listing 10 shows the continuation of the main processing loop after the cnee events are read.
该名称位于脚本底部,包装在foreach循环中,该脚本为每个事件添加一个页面,然后调用EventTable方法。
That name is wrapped in a foreach loop at the bottom of the script that adds a page for each event, then invokes the EventTable method.
triggerGC事件类型对应GC循环的开始点和结束点。
Trigger GC event types correspond to the GC cycle's start and end points.
然后它声明愿意当具有com. burtonini . dbus . signal接口的信号被发送时得到通知,将signal_filter设置为通知函数,然后进入事件循环。
Then it states that it would like to be notified when signals with the com.burtonini.dbus.Signal interface are sent, sets signal_filter as the notification function, and enters the event loop.
选择器(selector)与Windows消息循环类似,它从不同客户机捕获各种事件并将它们分派到相应的事件处理程序。
A selector is analogous to a Windows message loop, in which the selector captures the various events from different clients and dispatches them to their respective event handlers.
这种特殊的无限循环和微休眠(micro - sleep)方法目的是允许cnee和firefox有机会处理事件,同时保持足够的UI性能。
This particular infinite loop and micro-sleep approach is designed to allow cnee and Firefox to have a chance to process events, while retaining adequate UI performance.
Kindt和他的同事们策划了一个测试来观察恐惧的循环是否能通过打破大脑重塑悲伤事件的记忆得到缓解。
Kindt and colleagues devised a test to see if the cycle of fear could be eased by interrupting the brain's ability to recreate a memory of a traumatic event.
应用推荐