为了提高发送效率,发送线程采用线程池管理。
In order to improve the sending efficiency, thread pool is used in the sending thread.
在发送端有两个繁忙的线程,并且其中仅有一个拥有其亲和力集合。
There are two busy threads on the sending side, and only one of them gets its affinity set.
注意,“DONE”消息被通过数据流从每个后台线程发送到结果侦听程序。
Notice the "DONE" message being sent from each background thread through the stream to the results listener.
每个线程内的代码都被发送到一台远程计算机去执行。
The code within each thread is sent to a remote machine to be executed.
感谢所有加入这个愚人节线程、发送电子邮件、或张贴信息到别处的人!
Thanks to all who join the April Fool's thread, send emails, or posted info elsewhere!
然而,当并发请求被发送给该页面时,所有线程将正常终止。
However, when concurrent requests are sent to this page, all threads end normally.
它就是每当消息被发送给线程时就会调用的函数。
This is the function that is invoked whenever a message is sent to the thread.
线程和回调——这样多个请求就能够异步发送给本地数据存储。
Threading and Callbacks - so that multiple requests can be sent to the local data store asynchronously.
这个实例被用于发送到该分区中的所有消息,使这个类的成员线程安全并提供缓存必要资源的机会。
This instance is used for all messages that are sent into the partition, making members of this class thread safe and providing the opportunity to cache required resources.
表示线程发送结果任务已完成的指标有时在消息传递领域称为 “毒消息”。
This indicator that a thread is finished sending results is sometimes called a "poison message" in message-passing literature.
在等待同步发送电子邮件或运行报告时,无需阻碍某个线程,也无需使您的站点访问者等待响应。
There is no need for you block a thread and make your site visitors wait for a response while waiting to synchronously send e-mails or run reports.
当SOAP引擎收到 SOAP请求时,通常的方法是处理请求并在同一个线程中发送消息。
When a SOAP engine receives a SOAP request, the usual way is to process the request and send the message in the same thread.
新线程负责将响应发送到客户机,并从服务实现类中取得响应。
The new thread is responsible for sending the response to the client and taking the response from the service implementation class.
由于应用服务器使用有限的线程池,持续使用一个线程将使应用服务器在使用这些协议发送和接收消息时无法处理其他请求。
Because application servers use limited thread pools, continuous use of a thread prevents an application server from handling other requests while sending or receiving a message using these protocols.
换句话说,客户端的执行线程可能会在请求发送后被立即阻塞。
In other words, a client's thread of execution might not be blocked immediately after a request has been sent.
调用的服务在自己的线程上运行,该服务完成其处理时,将相应发送回给调用客户端,而调用客户端将使用一个不同的线程来接收这个响应。
The invoked service runs on its own thread and, when it completes its processing, the response is sent back to the calling client, which is received on a different thread.
异步——使用者通过两个线程调用服务;一个线程发送请求,而另一个单独的线程接收响应。
Asynchronous - the consumer USES a pair of threads to invoke the service; one thread sends the request, then a separate thread receives the response.
我们可能需要将信号发送给正在执行SPU代码的线程。
A signal might need to be delivered to a thread that is executing SPU code.
同步——使用者通过单个线程调用服务;该线程发送请求,在服务运行时阻塞,并且等待响应。
Synchronous – The consumer uses a single thread to invoke the service; the thread sends the request, blocks while the service is running, and waits for the response.
为了确保在发送事件前已启动所有线程,将强制线程等待30秒。
To make sure all of the threads are started before events are sent, the threads are forced to wait 30 seconds.
通过分离的线程发送多条测试消息。
由于响应是在单独的执行线程上发送,所以在流程描述中用invoke活动标记来调用客户机的回调机制服务。
Since the response is being sent on a separate thread of execution, the invoke activity token is used in the process description to invoke the callback mechanism service of the client.
通过调用print,您触发了一个机制,该机制在一个单独的线程中向打印服务发送内容。
By calling print you trigger the mechanism to send your content to the print service in a separate thread.
因此我们发现了在UI线程上运行pluglet并输出信息到控制台上的另一个问题:整个pluglet必须在主线程的任何一个输出被发送到控制台之前结束。
So we see another issue with running on the UI thread and outputting information to the console: the whole pluglet has to end before any output from the main thread is sent to the console.
该数据随后会被通过postMessage函数发送回母线程。
This data is then sent back to the parent thread by using the postMessage function.
这将阻止线程,直到agent执行了发送给它的函数。
This blocks the thread until the agent has executed the function that was sent to it.
如果对于一个或者多个ThreadGroup指定多个线程,那么相同的消息集合将会被发送多次,这将违背随机选取准则的目标。
If multiple threads were specified for one or more thread Groups, then the same message set would have been sent multiple times, defeating the purpose of the random selection criterion.
相应的挑战是准备测试脚本可以发送多达8000个(对于80个线程,每个线程100个)随机选择的请求消息。
The challenge was in preparing test scripts that could send up to 8,000 (100 per thread for 80 threads) randomly selected request messages.
当此worker完成其作业后,它会向主线程发送回一个消息。
When the worker finishes its work, it will send a message back to the main thread.
如果在发送广播通知时没有线程在等待 _wcond或 _rcond,会发生什么?
What happens when there are no threads waiting on _wcond or _rcond but broadcast notifications?
应用推荐