The following example demonstrates how an auxiliary or worker thread can be created and used to perform processing in parallel with that of the primary thread.
下面的示例演示如何创建辅助线程,并用它与主线程并行执行处理。
The example creates two auxiliary, or worker threads.
该示例创建两个辅助线程。
The example creates two auxiliary, or worker threads.
该示例创建两个辅助线程。
应用推荐