线程术语

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.

这篇文档关注于实现并发并不包括线程的应用。如果你需要应用线程,你需要看其他的技术文档。

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 耶哥蕊特是这季塑造得最好的女性角色了,比原著要更丰满立体,她与琼恩的爱情故事因此也更动人。这集的主体剧情就是野人爬...
    李邦斯阅读 2,454评论 0 0
  • 我们不停的在寻找些什么 寻找那些可以满足自己 满足别人 也可能是满足客户的解决方案 但很多时候我们没有意识到 错,...
    碎落的面包屑阅读 2,817评论 0 1
  • 不论个体特质,每个人都有“入神”的时候。 任何人都对驾驶有独特的体验:你与坐骑相对静止,却劈开了时空,此时你“入神...
    深海无怪如无梦之眠阅读 1,813评论 0 1
  • 今天继续读《为什么你一定要学会写作02》。本来还在思考今天写点什么,要是看完这篇文章还不知道写什么,我就写生活工作...
    sanyaojing阅读 1,105评论 0 2