工作线程循环等待新请求。
循环等待时间触发器的值取决于您的应用程序设计。
The value of the recurring wait-time trigger depends on your application design.
输出完成后,通过向客户端流写入一个NULL对象,而且循环等待下一个客户端,从而刷新流。
When the output is complete, the stream is flushed by writing a NULL object to the client stream and loop awaiting the next client.
上面的所有解决方案都用简单的循环等待并处理请求,然后把请求分派给另一个函数以处理实际的网络交互。
All of the above solutions use a simple loop to wait and handle requests, before dispatching the request to a separate function to handle the actual network interaction.
由于您无需等待一个列表生成完毕(停止并前进)或者分配一个线程用于处理循环(并行管道),这可能是最有效率的方法了。
Since you do not have to wait for a list to be generated (stop and go) or allocate a thread to processing the loop (pipelining), this can be the most efficient method.
在循环之后,定义接收活动,该活动将等待最后一个事件处理程序实例调用。
After the loop define a receive activity that waits until it is invoked by the last event handler.
通过加入一个循环或等待间隔减慢其传入消息的速度。
Essentially slowing them down by putting in a loop or wait interval.
为了让线程等待,我们只需将线程执行一个忙循环(自旋)。
To wait all we do is put the thread into a busy loop (a spin).
清单4中显示的MessageServer run方法建立了一个无限循环以等待客户机连接。
The MessageServer run method, shown in Listing 4, establishes an infinite loop to wait for a client connection.
只需要记住,必须等待最终完成(注意spu_mfcstat在循环之外),否则在程序中使用数据之前,最后的数据位可能还没有完成数据传输!
Just remember to wait for the completion at the end (notice the spu_mfcstat outside the loop), or else your last bit of data may not finish transferring before it is used in the program!
相反,程序进入一个while循环,等待新的连接。
Instead, the program enters a while loop waiting for new connections.
之后它会等待来自Arduino的响应,并进入某个循环来读取所报告的行。
It then waits for the response from the Arduino and goes into a loop to read lines reported.
我们将不会再这里等待100秒来等它完成,但是我们使用循环,我们更新一个变量,我们把它排成一个漂亮的格式。
And we won't wait here one hundred seconds for it to finish, but we're using the loop, we're updating a variable, and we're formatting it in a nice way.
loop子例程无限循环,等待一个HypertextTransferProtocol (HTTP)请求,然后用所需数据进行回答。
The loop subroutine then loops forever, waiting for a Hypertext Transfer Protocol (HTTP) request and then answering with the data needed.
下列步骤将开始在循环中填写逻辑,以调用ShippingTask服务,然后确定是等待还是重试。
The next steps begin to fill in the logic within the loop, which is to invoke the ShippingTask service and then determine whether to wait and try again.
因此您需要等待,直到完成了文档的解析(已经跳出while 循环)。
Thus you need to wait until you're finished parsing the document (you've broken out of the while loop).
然后,BuildCanary回到while循环的顶端,等待下一条消息。
BuildCanary then goes back to the top of its while loop and waits for the next message.
在上述死循环的情况下,所有除主线程之外的线程都处于某种等待状态(等待一个信号量,或等待某个事件)。
In the infinite loop case above, all threads except main are in a waiting state (on a semaphore, or waiting for some event).
在系统循环遍历每个连接时,其他连接不得不等待。
The other connections have to wait while you iterate through each one.
是否有可能缩减循环时间,这样等待时间就得到了降低?
Is it possible to shorten the cycle so that wait times drop?
这个循环有64次迭代,迭代之间间隔15分钟的等待时间。
There are 64 iterations of this loop with a 15-minute wait between iterations.
有人说目前美国对中国出口最多的是等待回收再循环的垃圾和废料。
By some counts, America's largest export to China is now trash and scrap for recycling.
在该循环中,程序一直等待从x服务器发出的新消息。
In this loop, the program continually waits for new messages to be sent from the X server.
快速工作的参与者将完成工作,把物品放入循环,将第二个完成,并等待该位置空了,他可以将其填上并制作下一个。
The participants with a fast task would finish, put the piece in the circle, build a second one completely, and then wait until the spot was clear before they could fill it and make the next one.
在服务器的循环中,一直等待新客户机的连接请求。
永恒之中并没有等待,唯有循环,或者你无法抗拒的,永无止境的生命与运动。
There is no waiting in eternity, just cycles or never ending life and motion which you cannot resist.
我们的Actor会无限循环来等待进来的消息。
Our actor loops indefinitely, waiting for incoming messages.
如果状态为默认值(“ _ ”)或等待(pending),您将处于循环过程中。
You will stay in the loop if the state is default (" _ ") or if the state is pending.
你们已经为了这个特殊时刻等待了一百万年,相信我们你会以最大的成功完成这次周期的循环。
You have waited a million years for this particular time, and believe us you will complete this cycle in a most successful way.
你们已经为了这个特殊时刻等待了一百万年,相信我们你会以最大的成功完成这次周期的循环。
You have waited a million years for this particular time, and believe us you will complete this cycle in a most successful way.
应用推荐