在专属的背景工作执行绪上执行资料岛。
在背景工作执行绪回呼方法内设定中断点。
Set the breakpoint inside the worker thread callback method.
背景工作执行绪通常是用来完成不需要使用者输入的工作,例如重新计算。
Worker threads are commonly used to complete tasks, such as recalculation, that do not require user input.
将指定的委派伫列排入执行绪集区,但不会将呼叫堆叠散布到背景工作执行绪。
Queues the specified delegate to the thread pool, but does not propagate the calling stack to the worker thread.
提供一个实作您自己的执行绪集区的机制,以执行工作流程和管理记忆体计时器登录与事件。
Provides a mechanism to implement your own thread pool to execute the workflow and manage in-memory timer registration and events.
一旦集区中的执行绪完成工作,就会回到等待中执行绪的伫列,执行绪可以在这里被重复使用。
Once a thread in the pool completes its task, it is returned to a queue of waiting threads, where it can be reused.
例入,您可以从工作项目附加、开启、删除及储存档案,例如电子邮件执行绪、文件、影像、记录档或其他档案类型。
For example, you can attach, open, delete, and save files from work items, such as ane-mail thread, document, image, log file, or other file type.
例如,高优先权执行绪处理时间紧急的工作,而低优先权执行绪执行其他工作。
For example, a high-priority thread manages time-critical tasks, and a low-priority thread performs other tasks.
许多个人电脑和工作站都具有两个或四个核心 (即 CPU),而能够同时执行多个执行绪。
Many personal computers and workstations have two or four cores (that is, CPUs) that enable multiple threads to be executed simultaneously.
如果在其他执行绪的本机伫列中发现了工作项目,它会先套用启发式,确定自己能够有效率地执行工作。
If it finds a work item in the local queue of another thread, it first applies heuristics to make sure that it can run the work efficiently.
这一点显然是上一点的延伸,令人愉快的平行查询在具有更多核心的机器上执行速度比较快,因为工作可以分配至更多的并行执行绪上。
This point is an obvious corollary to the previous section, queries that are delightfully parallel run faster on machines with more cores because the work can be divided among more concurrent threads.
启用与使用者介面互动的背景工作,透过使用者介面执行绪上引发的事件来沟通。
Enables background tasks that interact with the user interface, communicating via events raised on the user-interface thread.
自行提供执行绪管理的主机可以随时将执行工作从其中一个实体作业系统执行绪移到另一个执行绪。
A host that provides its own thread management can move an executing task from one physical operating system thread to another at any time.
不过,有些工作有执行绪相似性,也就是说,它们是相依于实体作业系统执行绪的识别。
However, some tasks have thread affinity - that is, they depend on the identity of a physical operating system thread.
不过,有些工作有执行绪相似性,也就是说,它们是相依于实体作业系统执行绪的识别。
However, some tasks have thread affinity - that is, they depend on the identity of a physical operating system thread.
应用推荐