Threading Terminology
Before getting too far into discussions about threads and their supporting technologies, it is necessary to define some basic terminology.
在更多討論線程和他們支持的技術(shù)之前,定義一些基本術(shù)語是必要的。
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系統(tǒng),你可能會發(fā)現(xiàn)任務(wù)的用法與本文檔不同。在Unix系統(tǒng)中,任務(wù)優(yōu)勢被用于進程。
This document adopts the following terminology:
本文件采用以下術(shù)語:
1.The term?thread?is used to refer to a separate path of execution for code.
thread被用來描述代碼的單獨執(zhí)行路徑。
2. The term?process?is used to refer to a running executable, which can encompass multiple threads.
進程被用來指一個可執(zhí)行文件,它可以包含多個線程。
3.The term?task?is used to refer to the abstract concept of work that needs to be performed.
任務(wù)用來專門指執(zhí)行的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.
這篇文檔關(guān)注于實現(xiàn)并發(fā)并不包括線程的應(yīng)用。如果你需要應(yīng)用線程,你需要看其他的技術(shù)文檔。