每个线程内的代码都被发送到一台远程计算机去执行。
The code within each thread is sent to a remote machine to be executed.
然而,当并发请求被发送给该页面时,所有线程将正常终止。
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.
该数据随后会被通过postMessage函数发送回母线程。
This data is then sent back to the parent thread by using the postMessage function.
当Work对象发送到另一个线程时将调用run()方法。
The run() method is called when the Work object is dispatched to another thread.
再次,一定要发送完成通知主线程上。
Again, be sure to send the completion notification on the main thread.
再次,一定要发送完成通知主线程上。
Again, be sure to send the completion notification on the main thread.
应用推荐