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系統(tǒng)胃碾,你可能會發(fā)現(xiàn)任務的用法與本文檔不同。在Unix系統(tǒng)中筋搏,任務優(yōu)勢被用于進程仆百。
This document adopts the following terminology:
本文件采用以下術語:
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.
任務用來專門指執(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.
這篇文檔關注于實現(xiàn)并發(fā)并不包括線程的應用髓迎。如果你需要應用線程栈源,你需要看其他的技術文檔。