码迷,mamicode.com
首页 > 其他好文 > 详细

concurrency parallel 并发 并行

时间:2016-12-15 14:36:30      阅读:166      评论:0      收藏:0      [点我收藏+]

标签:general   spec   flow   example   find   ice   parallel   com   multitask   

Computer Systems A Programmer‘s Perspective Second Edition

The general phenomenon of multiple flows executing concurrently is known

as
concurrency
. The notion of a process taking turns with other processes is also
known as
multitasking
. Each time period that a process executes a portion of its
flow is called a
time slice
. Thus, multitasking is also referred to as
time slicing
.For
example, in Figure 8.12, the flow for Process A consists of two time slices.
 
Notice that the idea of concurrent flows is independent of the number of
processor cores or computers that the flows are running on. If two flows overlap
in time, then they are concurrent, even if they are running on the same processor.
However, we will sometimes find it useful to identify a proper subset of concurrent
flows known as
parallel flows
. If two flows are running concurrently on different
processor cores or computers, then we say that they are
parallel flows
, that they
are
running in parallel
, and have
parallel execution
.
 
 
 

concurrency parallel 并发 并行

标签:general   spec   flow   example   find   ice   parallel   com   multitask   

原文地址:http://www.cnblogs.com/yuanjiangw/p/6182842.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!