Threading Terminology
Before getting too far into discussions about threads and their supporting technologies, it is necessary to define some basic terminology.
在更多讨论线程和他们支持的技术之前,定义一些基本术语是必要的。
If you are familiar with UNIX systems, you may find that the term “task” is used differently by this document. On UNIX systems, the term “task” is used at times to refer to a running process.
如果你熟悉Unix系统,你可能会发现任务的用法与本文档不同。在Unix系统中,任务优势被用于进程。
This document adopts the following terminology:
本文件采用以下术语:
1.The term thread is used to refer to a separate path of execution for code.
thread被用来描述代码的单独执行路径。
2. The term process is used to refer to a running executable, which can encompass multiple threads.
进程被用来指一个可执行文件,它可以包含多个线程。
3.The term task is used to refer to the abstract concept of work that needs to be performed.
任务用来专门指执行的work。
See Also
也需要知道
This document focuses on the preferred technologies for implementing concurrency in your applications and does not cover the use of threads. If you need information about using threads and other thread-related technologies, seeThreading Programming Guide.
这篇文档关注于实现并发并不包括线程的应用。如果你需要应用线程,你需要看其他的技术文档。