Reduced network latency using a background thread.
使用后台线程降低了网络延迟。
Thus, addStock will execute on a background thread, not on the main UI thread.
如此,addStock将在一个背景线程上执行,而不是在主UI 线程上。
It makes sense to do this type of task in a background thread using Web workers.
因而使用Webworker在后台线程中完成这类任务是很有意义的。
Listing 3 shows an example where during startup, a background thread loads some data from a database.
清单3展示了一个示例,其中后台线程在启动阶段从数据库加载一些数据。
A first-pass solution to this is to store up encoded messages while a background thread tries to upload them.
初步的解决方案是,当后台线程试图上传编码消息时对这些消息进行存储。
A managed thread is either a background thread or a foreground thread.
托管线程或者是后台线程,或者是前台线程。
When finished, the background thread deletes the Artist from the table.
在完成后,后台线程删除表中的艺术家。
Another common threading model is to have a single background thread and task queue for tasks of a certain type.
另一个常见的线程模型是为某一类型的任务分配一个后台线程与任务队列。
Back in Listing 2, you saw each background thread receive and print the results of retrieving tweets for a particular topic.
在清单2中,您看到每个后台线程接收和打印检索特定主题tweets的结果。
However, you can also create the background thread as STA and then register a message filter for that thread to handle this case.
但是,也可以将后台线程作为STA创建,然后为该线程注册消息筛选器以处理此情况。
Speed is another advantage of MongoDB, mainly due to how it handles writes: they are stored in memory and later, via a background thread, written to disk.
速度是MongoDB的另外一个优势,主要是由于它处理写入的方式:它们存储在内存中,然后通过后台线程写入磁盘。
Because calls are serialized, callers might be blocked for periods of time while the server is busy or is handling other calls on a background thread.
因为调用是序列化的,所以服务器正忙时或处理后台线程上的其他调用时调用方可能会被阻塞一段时间。
Of course, fetching images from disk is slower than loading from memory and should be done in a background thread, as disk read times can be unpredictable.
当然,从磁盘上获取这些图片要比从内存中加载慢,并且由于磁盘读取时间是不可预知的,所以也应该在后台进程中完成。
There's been a new "background thread" capability added which makes Eclipse much more responsive when there are long-running tasks that need to be executed from the IDE.
新版本中还添加了一种“后台线程(background thread)”功能,有了这个功能,当存在需要从ide执行的长时间运行的任务时,Eclipse能够有更好的响应时间。
There's been a new "background thread" capability added which makes Eclipse much more responsive when there are long-running tasks that need to be executed from the IDE.
新版本中还添加了一种“后台线程(background thread)”功能,有了这个功能,当存在需要从ide执行的长时间运行的任务时,Eclipse能够有更好的响应时间。
应用推荐