通信顺序进程:修订间差异

维基百科,自由的百科全书
删除的内容 添加的内容
InternetArchiveBot留言 | 贡献
补救7个来源,并将0个来源标记为失效。) #IABot (v2.0.7
InternetArchiveBot留言 | 贡献
补救21个来源,并将0个来源标记为失效。) #IABot (v2.0.8
第2行: 第2行:
在[[计算机科学]]中,'''交-{}-談循序程式'''({{lang-en|Communicating sequential processes}},縮寫為CSP),又譯為'''通-{}-信顺序进程'''、'''交換訊息的循序程式''',是一種[[形式語言]],用來描述[[并发性|並行性系統]]間進行互動的[[模式]]<ref name="roscoe">{{cite book|first=A. W.|last=Roscoe|authorlink=Bill Roscoe|title=The Theory and Practice of Concurrency|publisher=[[Prentice Hall]]|isbn=978-0-13-674409-2|year=1997|url=https://archive.org/details/theorypracticeof00rosc}}</ref>。它是叫做进程代数或[[进程演算]]的关于[[并发计算|并发]]的数学理论家族的一员,基于了通过[[通道 (编程)|通道]]的[[消息传递]]。CSP高度影響了[[Occam]]的設計<ref name="roscoe" /><ref>{{cite book|last=INMOS|authorlink=INMOS|url=http://www.wotug.org/occam/documentation/oc21refman.pdf|title=occam 2.1 Reference Manual|publisher=SGS-THOMSON Microelectronics Ltd.|date=1995-05-12|access-date=2020-05-03|archive-date=2020-08-01|archive-url=https://web.archive.org/web/20200801234838/http://www.wotug.org/occam/documentation/oc21refman.pdf|dead-url=no}}, INMOS document 72 occ 45 03</ref>,也影響了程式語言如[[Limbo (程式语言)|Limbo]]<ref>{{cite web|title=Resources about threaded programming in the Bell Labs CSP style|url=http://swtch.com/~rsc/thread/|accessdate=2010-04-15|archive-date=2013-04-26|archive-url=https://web.archive.org/web/20130426081645/http://swtch.com/~rsc/thread/|dead-url=yes}}</ref>、[[RaftLib]]、[[Go]]<ref name="golang">{{cite web |title=Language Design FAQ: Why build concurrency on the ideas of CSP? |url=http://golang.org/doc/go_faq.html#csp |accessdate=2020-05-03 |archive-date=2013-01-02 |archive-url=https://web.archive.org/web/20130102205822/http://golang.org/doc/go_faq.html#csp |dead-url=no }}</ref>、 [[Crystal (编程语言)|Crystal]]和[[Clojure]]的core.async<ref name="clojure-core-async">{{cite web |title=Clojure core.async Channels |url=https://clojure.org/news/2013/06/28/clojure-clore-async-channels#_history |accessdate=2020-05-03 |archive-date=2019-07-05 |archive-url=https://web.archive.org/web/20190705174207/https://www.clojure.org/news/2013/06/28/clojure-clore-async-channels#_history |dead-url=no }}</ref>等。
在[[计算机科学]]中,'''交-{}-談循序程式'''({{lang-en|Communicating sequential processes}},縮寫為CSP),又譯為'''通-{}-信顺序进程'''、'''交換訊息的循序程式''',是一種[[形式語言]],用來描述[[并发性|並行性系統]]間進行互動的[[模式]]<ref name="roscoe">{{cite book|first=A. W.|last=Roscoe|authorlink=Bill Roscoe|title=The Theory and Practice of Concurrency|publisher=[[Prentice Hall]]|isbn=978-0-13-674409-2|year=1997|url=https://archive.org/details/theorypracticeof00rosc}}</ref>。它是叫做进程代数或[[进程演算]]的关于[[并发计算|并发]]的数学理论家族的一员,基于了通过[[通道 (编程)|通道]]的[[消息传递]]。CSP高度影響了[[Occam]]的設計<ref name="roscoe" /><ref>{{cite book|last=INMOS|authorlink=INMOS|url=http://www.wotug.org/occam/documentation/oc21refman.pdf|title=occam 2.1 Reference Manual|publisher=SGS-THOMSON Microelectronics Ltd.|date=1995-05-12|access-date=2020-05-03|archive-date=2020-08-01|archive-url=https://web.archive.org/web/20200801234838/http://www.wotug.org/occam/documentation/oc21refman.pdf|dead-url=no}}, INMOS document 72 occ 45 03</ref>,也影響了程式語言如[[Limbo (程式语言)|Limbo]]<ref>{{cite web|title=Resources about threaded programming in the Bell Labs CSP style|url=http://swtch.com/~rsc/thread/|accessdate=2010-04-15|archive-date=2013-04-26|archive-url=https://web.archive.org/web/20130426081645/http://swtch.com/~rsc/thread/|dead-url=yes}}</ref>、[[RaftLib]]、[[Go]]<ref name="golang">{{cite web |title=Language Design FAQ: Why build concurrency on the ideas of CSP? |url=http://golang.org/doc/go_faq.html#csp |accessdate=2020-05-03 |archive-date=2013-01-02 |archive-url=https://web.archive.org/web/20130102205822/http://golang.org/doc/go_faq.html#csp |dead-url=no }}</ref>、 [[Crystal (编程语言)|Crystal]]和[[Clojure]]的core.async<ref name="clojure-core-async">{{cite web |title=Clojure core.async Channels |url=https://clojure.org/news/2013/06/28/clojure-clore-async-channels#_history |accessdate=2020-05-03 |archive-date=2019-07-05 |archive-url=https://web.archive.org/web/20190705174207/https://www.clojure.org/news/2013/06/28/clojure-clore-async-channels#_history |dead-url=no }}</ref>等。


CSP最早出現於[[東尼·霍爾]]在1978年發表的論文<ref name="hoare1978">{{cite journal|last=Hoare
CSP最早出現於[[東尼·霍爾]]在1978年發表的論文<ref name="hoare1978">{{cite journal
|last=Hoare
|first=C. A. R.
|first=C. A. R.
|authorlink=C. A. R. Hoare
|authorlink=C. A. R. Hoare
第11行: 第12行:
|pages=666–677
|pages=666–677
|year=1978
|year=1978
|url = https://www.cs.cmu.edu/~crary/819-f09/Hoare78.pdf
|url=https://www.cs.cmu.edu/~crary/819-f09/Hoare78.pdf
|doi=10.1145/359576.359585}}</ref>,但在之後又經過一系列的改善<ref name="25years">{{cite book
|doi=10.1145/359576.359585
|access-date=2020-05-03
|archive-date=2020-12-30
|archive-url=https://web.archive.org/web/20201230025637/http://www.cs.cmu.edu/~crary/819-f09/Hoare78.pdf
|dead-url=no
}}</ref>,但在之後又經過一系列的改善<ref name="25years">{{cite book
|last=Abdallah | first = Ali E.| last2 = Jones | first2 = Cliff B. | last3 = Sanders | first3 = Jeff W.
|last=Abdallah | first = Ali E.| last2 = Jones | first2 = Cliff B. | last3 = Sanders | first3 = Jeff W.
|title=Communicating Sequential Processes: The First 25 Years
|title=Communicating Sequential Processes: The First 25 Years
第28行: 第34行:
|pages=69–78
|pages=69–78
|year=1995
|year=1995
|doi=10.1109/32.345823}}</ref>,还有安全电子商务系统<ref name="hall">{{cite journal|last = Hall
|doi=10.1109/32.345823}}</ref>,还有安全电子商务系统<ref name="hall">{{cite journal
|last=Hall
|first=A
|first=A
| first2 = R. | last2 = Chapman
|first2=R.
|last2=Chapman
|url=http://www.anthonyhall.org/c_by_c_secure_system.pdf
|url=http://www.anthonyhall.org/c_by_c_secure_system.pdf
|title=Correctness by construction: Developing a commercial secure system
|title=Correctness by construction: Developing a commercial secure system
第39行: 第47行:
|year=2002
|year=2002
|doi=10.1109/52.976937
|doi=10.1109/52.976937
|access-date=2020-05-03
|archive-date=2020-12-02
|archive-url=https://web.archive.org/web/20201202131145/http://www.anthonyhall.org/c_by_c_secure_system.pdf
|dead-url=no
}}</ref>。CSP的理论自身仍是活跃研究的主题,包括了增加它的实际可应用性的范围(比如增大可以跟踪分析的系统的规模)<ref>{{Cite journal| last = Creese | first = S.|title=Data Independent Induction: CSP Model Checking of Arbitrary Sized Networks|version=D. Phil.|publisher=[[Oxford University]]|year=2001}}</ref>。
}}</ref>。CSP的理论自身仍是活跃研究的主题,包括了增加它的实际可应用性的范围(比如增大可以跟踪分析的系统的规模)<ref>{{Cite journal| last = Creese | first = S.|title=Data Independent Induction: CSP Model Checking of Arbitrary Sized Networks|version=D. Phil.|publisher=[[Oxford University]]|year=2001}}</ref>。


第180行: 第192行:
== 有关的形式化 ==
== 有关的形式化 ==
从经典无时序的CSP已经派生出一些其他的规定语言和形式化,包括:
从经典无时序的CSP已经派生出一些其他的规定语言和形式化,包括:
* [https://link.springer.com/chapter/10.1007/BFb0032011 Timed CSP],它结合了时序信息用于关于实时系统的推理。
* [https://link.springer.com/chapter/10.1007/BFb0032011 Timed CSP] {{Wayback|url=https://link.springer.com/chapter/10.1007/BFb0032011 |date=20180612172125 }},它结合了时序信息用于关于实时系统的推理。
* [https://dx.doi.org/10.1007/BF01178564 Receptive Process Theory],专门化的CSP,假定了异步(就是{{en-link|非阻塞算法|Non-blocking algorithm|非阻塞}})发送操作。
* [https://dx.doi.org/10.1007/BF01178564 Receptive Process Theory],专门化的CSP,假定了异步(就是{{en-link|非阻塞算法|Non-blocking algorithm|非阻塞}})发送操作。
* [https://web.archive.org/web/20110514085953/http://www.wotug.org/paperdb/show_pap.php?f=1&num=394 CSPP]
* [https://web.archive.org/web/20110514085953/http://www.wotug.org/paperdb/show_pap.php?f=1&num=394 CSPP]
* [https://web.archive.org/web/20110514085958/http://www.wotug.org/paperdb/show_pap.php?f=1&num=395 HCSP]
* [https://web.archive.org/web/20110514085958/http://www.wotug.org/paperdb/show_pap.php?f=1&num=395 HCSP]
* [http://www.comp.nus.edu.sg/~dongjs/tcoz.html TCOZ] {{Wayback|url=http://www.comp.nus.edu.sg/~dongjs/tcoz.html |date=20110514234220 }},集成有时序的CSP于{{en-link|对象Z|Object-Z}}。
* [http://www.comp.nus.edu.sg/~dongjs/tcoz.html TCOZ]{{Wayback|url=http://www.comp.nus.edu.sg/~dongjs/tcoz.html |date=20110514234220 }},集成有时序的CSP于{{en-link|对象Z|Object-Z}}。
* [http://www.cs.york.ac.uk/circus/ Circus] {{Wayback|url=http://www.cs.york.ac.uk/circus/ |date=20110514234221 }},集成CSP和基于{{en-link|编程的统一理论|Unifying Theories of Programming}}的{{en-link|Z表示法|Z notation}}。
* [http://www.cs.york.ac.uk/circus/ Circus]{{Wayback|url=http://www.cs.york.ac.uk/circus/ |date=20110514234221 }},集成CSP和基于{{en-link|编程的统一理论|Unifying Theories of Programming}}的{{en-link|Z表示法|Z notation}}。
* [http://www.compass-research.eu/approach.html CML](COMPASS建模语言),合并了为{{en-link|多系统的系统|System of systems}}(SoS)开发的[http://www.cs.york.ac.uk/circus/ Circus] {{Wayback|url=http://www.cs.york.ac.uk/circus/ |date=20110514234221 }}和{{en-link|维也纳开发方法|Vienna Development Method|VDM}}。
* [http://www.compass-research.eu/approach.html CML] {{Wayback|url=http://www.compass-research.eu/approach.html |date=20200219205126 }}(COMPASS建模语言),合并了为{{en-link|多系统的系统|System of systems}}(SoS)开发的[http://www.cs.york.ac.uk/circus/ Circus]{{Wayback|url=http://www.cs.york.ac.uk/circus/ |date=20110514234221 }}和{{en-link|维也纳开发方法|Vienna Development Method|VDM}}。
* [https://web.archive.org/web/20110514234221/http://www.cs.swan.ac.uk/~csmarkus/Papers/cspcasl.ps CspCASL],集成了CSP的{{en-link|公共代数规定语言|Common Algebraic Specification Language|CASL}}扩展。
* [https://web.archive.org/web/20110514234221/http://www.cs.swan.ac.uk/~csmarkus/Papers/cspcasl.ps CspCASL],集成了CSP的{{en-link|公共代数规定语言|Common Algebraic Specification Language|CASL}}扩展。
* {{en-link|时态次序规定语言|Language Of Temporal Ordering Specification|LOTOS}},结合了CSP与{{en-link|通信系统演算|Calculus of Communicating Systems|CCS}}特征的国际标准<ref>{{en-link|时态次序规定语言|Language Of Temporal Ordering Specification|ISO 8807,时态次序规定语言}}</ref>。
* {{en-link|时态次序规定语言|Language Of Temporal Ordering Specification|LOTOS}},结合了CSP与{{en-link|通信系统演算|Calculus of Communicating Systems|CCS}}特征的国际标准<ref>{{en-link|时态次序规定语言|Language Of Temporal Ordering Specification|ISO 8807,时态次序规定语言}}</ref>。
第208行: 第220行:


== 延伸阅读 ==
== 延伸阅读 ==
* {{cite book |last=Hoare |first=C. A. R. |authorlink=C. A. R. Hoare |title=Communicating Sequential Processes |origyear=1985 |year=2004 |publisher=Prentice Hall International |url=http://www.usingcsp.com/ |isbn=978-0-13-153271-7}}
* {{cite book |last=Hoare |first=C. A. R. |authorlink=C. A. R. Hoare |title=Communicating Sequential Processes |origyear=1985 |year=2004 |publisher=Prentice Hall International |url=http://www.usingcsp.com/ |isbn=978-0-13-153271-7 |access-date=2011-08-13 |archive-date=2021-02-01 |archive-url=https://web.archive.org/web/20210201151713/http://usingcsp.com/ |dead-url=no }}
** 本书已经被[[牛津大学计算实验室]]的[[Jim Davies]]更新,新版可以于网站[http://www.usingcsp.com/ Using CSP]自由的下载获取为PDF文件。应用了版权限制,下载前参看页面文本。
** 本书已经被[[牛津大学计算实验室]]的[[Jim Davies]]更新,新版可以于网站[http://www.usingcsp.com/ Using CSP] {{Wayback|url=http://www.usingcsp.com/ |date=20210201151713 }}自由的下载获取为PDF文件。应用了版权限制,下载前参看页面文本。
* {{cite book|first=A. W.|last=Roscoe|authorlink=Bill Roscoe|title=The Theory and Practice of Concurrency|publisher=[[Prentice Hall]]|isbn=978-0-13-674409-2|year=1997|url=https://archive.org/details/theorypracticeof00rosc}}
* {{cite book|first=A. W.|last=Roscoe|authorlink=Bill Roscoe|title=The Theory and Practice of Concurrency|publisher=[[Prentice Hall]]|isbn=978-0-13-674409-2|year=1997|url=https://archive.org/details/theorypracticeof00rosc}}
** 一些与本书有关的链接可见于[http://web.comlab.ox.ac.uk/oucl/publications/books/concurrency/ here]。全文可从Bill Roscoe的学术出版[http://web.comlab.ox.ac.uk/oucl/work/bill.roscoe/pubs.html 列表]下载获取为[http://web.comlab.ox.ac.uk/oucl/work/bill.roscoe/publications/68b.ps PS]或[http://web.comlab.ox.ac.uk/oucl/work/bill.roscoe/publications/68b.pdf PDF]文件。
** 一些与本书有关的链接可见于[http://web.comlab.ox.ac.uk/oucl/publications/books/concurrency/ here] {{Wayback|url=http://web.comlab.ox.ac.uk/oucl/publications/books/concurrency/ |date=20071010053714 }}。全文可从Bill Roscoe的学术出版[http://web.comlab.ox.ac.uk/oucl/work/bill.roscoe/pubs.html 列表] {{Wayback|url=http://web.comlab.ox.ac.uk/oucl/work/bill.roscoe/pubs.html |date=20081203161805 }}下载获取为[http://web.comlab.ox.ac.uk/oucl/work/bill.roscoe/publications/68b.ps PS] {{Wayback|url=http://web.comlab.ox.ac.uk/oucl/work/bill.roscoe/publications/68b.ps |date=20070824043949 }}或[http://web.comlab.ox.ac.uk/oucl/work/bill.roscoe/publications/68b.pdf PDF] {{Wayback|url=http://web.comlab.ox.ac.uk/oucl/work/bill.roscoe/publications/68b.pdf |date=20071129164828 }}文件。


== 外部链接 ==
== 外部链接 ==
* [http://www.wotug.org/ WoTUG], CSP和occam风格系统的用户组,包含了关于CSP和有用链接的一些信息。
* [http://www.wotug.org/ WoTUG] {{Wayback|url=http://www.wotug.org/ |date=20201124224644 }}, CSP和occam风格系统的用户组,包含了关于CSP和有用链接的一些信息。
* [https://changkun.de/golang/zh-cn/part1basic/ch02parallel/csp/ Go语言原本-2.6顺序进程通讯CSP],解读了对贝尔实验室并发编程语言系列实践有重大影响的1978年版CSP论文。
* [https://changkun.de/golang/zh-cn/part1basic/ch02parallel/csp/ Go语言原本-2.6顺序进程通讯CSP],解读了对贝尔实验室并发编程语言系列实践有重大影响的1978年版CSP论文。



2021年2月16日 (二) 23:56的版本

计算机科学中,交談循序程式(英語:Communicating sequential processes,縮寫為CSP),又譯為通信顺序进程交換訊息的循序程式,是一種形式語言,用來描述並行性系統間進行互動的模式[1]。它是叫做进程代数或进程演算的关于并发的数学理论家族的一员,基于了通过通道消息传递。CSP高度影響了Occam的設計[1][2],也影響了程式語言如Limbo[3]RaftLibGo[4]CrystalClojure的core.async[5]等。

CSP最早出現於東尼·霍爾在1978年發表的論文[6],但在之後又經過一系列的改善[7]。CSP已经实际的应用在工业之中,作为一种工具去规定和验证英语Formal specification各种不同系统的并发状况,比如T9000 Transputer[8],还有安全电子商务系统[9]。CSP的理论自身仍是活跃研究的主题,包括了增加它的实际可应用性的范围(比如增大可以跟踪分析的系统的规模)[10]

历史

在Hoare的1978年论文中提出的CSP版本在本质上不是一种进程演算,而是一种并发编程语言,它有四类命令:并行命令,赋值命令,输入和输出命令,轮选(alternation)和重复命令。它有着与后来版本的CSP在实质上不同的语法,不拥有数学上定义的语义[11],不能体现无界非确定性英语unbounded nondeterminism[12]。最初的CSP程序被写为一组固定数目的顺序进程的并行复合(composition),它们相互之间严格通过同步消息传递来进行通信。与后来版本的CSP相对比,每个进程都被赋予了一个显式的名字,通过指定意图发送或接收的进程的名字,定义消息的来源和目标,没有采用等价的命名的通道方式。例如,定义进程:

COPY = *[c:character; west?c → east!c]

它是重复的从叫作west的进程接收一个字符,再将这个字符发送到叫作east的进程。接着定义逐行读取打孔卡再输出字符串流到叫作X的进程的DISASSEMBLE进程,和从叫作X的进程读取字符串流再逐行打印到行式打印机ASSEBLE进程。并行复合:

[west::DISASSEMBLE || X::COPY || east::ASSEMBLE]

它赋予名字westDISASSEMBLE进程,名字XCOPY进程,名字eastASSEMBLE进程,并发的执行这三个进程[6]

在最初版本的CSP出版之后,Hoare、Stephen Brookes和A. W. Roscoe发展并精炼了CSP的理论,使之成为现代的进程代数形式。将CSP发展成进程代数的方式受到Robin Milner关于通信系统演算英语Calculus of Communicating Systems(CCS)的工作的影响,反之亦然。最初提出CSP的理论上的版本的是Brookes、Hoare和Roscoe的1984年的文章[13],和后来Hoare的1985年出版的书籍《通信顺序进程》[11]。CSP的理论在Hoare的书籍出版之后仍继续有细小的变更。这些变更大多为CSP进程分析和验证的自动工具的出现所推动。Roscoe在1997年出版的《并发的理论和实践》描述了更新版本的CSP[1]

非形式描述

如其名字所提示的那样,CSP允许依据构件进程来描述系统,它们独立运作,并只通过消息传递通信来相互交互。但是CSP名字中“顺序”这个词有时导致误解,因为现代CSP允许构件进程被定义为二者:顺序进程和多个更原始的进程的并行复合。在不同进程之间的关系,和每个进程与它的环境通信的方式,是使用各种进程代数算符(operator)描述的。使用这种代数方式,可以从原始元素轻易的构造出非常复杂的进程描述。

原语

CSP在它的进程代数中提供两类原语(primitive):

事件
事件表示通信或交互。它们被假定为是不可分的和瞬时的。它们可以是原子名字(比如on、off),复合名字(比如valve.open、valve.close),输入/输出事件(比如mouse?xy、screen!bitmap)。
原语进程
原语进程表示基本的行为:例子包括STOP(什么都不通信的进程,也叫作死锁)和SKIP(它表示成功终止)。

代数算符

CSP有范围广泛的代数算符。主要的有:

前缀
前缀算符,将一个事件和一个进程结合起来产生一个新进程。例如:
是想要与它的环境通信a的进程,而且在a之后,表现得如同进程P
确定性选择
确定性(或外部)选择算符,允许将进程的将来演变定义为,在两个构件进程之间进行选择,并允许环境通过通信这两进程之一的初始事件,来解决这个选择。例如:
是想要通信初始事件ab的进程,并依据环境决定与之通信的是哪个初始事件,随后表现为要么P要么Q。如果ab二者同时被通信,则选择将被非确定性的解决。
非确定性选择
非确定性(或内部)选择算子,允许将进程的将来演变定义为,在两个构件进程之间的选择,但是不允许环境对哪个构件进程将被选择的任何控制。例如:
可以表现得如同要么要么。它可以拒绝接受ab,并只在环境提供了ab二者时,被强制去通信。如果要选择的两边的初始事件是同一的,非确定性也可能被介入到确定性选择中。例如:
等价于
交错
交错(interleaving)算符,代表完全独立的并发活动。进程:
表现为PQ二者同时。来自二者进程的事件在时间上是任意交错的。
界面并行
界面(interface)或广义(generalized)并行算符,代表并发活动要求在构件进程之间的同步:在界面集合中的任何事件,只能在所有进程都能应允(engage)这个事件的时候出现。例如,进程:
要求PQ必须在事件a可以发生前能够进行这个事件。例如,进程:
可以应允事件a,而变成进程:
然而
将会简单的死锁。
隐藏
隐藏算符,通过使某些事件不可察见,提供了一种抽象进程的方式。隐藏的一个平凡的例子是:
它假定事件a不出现在P中,简单的归约成:

例子

一个原型的CSP例子是,一个巧克力售货机和它与一个想要买巧克力的人之间交互的抽象表示。这个售货机可以执行两个不同事件,“coin”和“choc”,分别表示插入硬币和投递巧克力。这个机器在提供巧克力之前想要货款(现金)可以写为:

一个人可以选择投币或刷卡支付可以建模为:

这两个进程可以放置为并行,这样它们可以相互交互。这种复合进程的行为依赖于这两个进程必须同步于其上的那些事件。因此:

然而如果同步只要求“coin”,我们会得到:

如果我们通过隐藏“coin”和“card”来抽象后者这个复合进程,也就是:

我们得到非确定性进程:

这是一个要么提供“choc”事件并接着停止,或者就地停止的进程。换句话说,如果我们把这个抽象当作对这个系统的外部查看(比如未看到这个人的做出如何决定的某个人),非确定性英语Nondeterministic algorithm就已经介入了。

形式定义

语法

CSP的语法定义了进程和事件可以组合的“合法”方式。设e是一个事件,X是一个事件集合。CSP的基本语法可以定义为:

注意:为得到简要性,上述提供的语法省略了进程,它表示分岐英语Divergence (computer science),还有各种算符,比如字母化并行、管道、索引选择。

有关的形式化

从经典无时序的CSP已经派生出一些其他的规定语言和形式化,包括:

参见

引用

  1. ^ 1.0 1.1 1.2 Roscoe, A. W. The Theory and Practice of Concurrency. Prentice Hall. 1997. ISBN 978-0-13-674409-2. 
  2. ^ INMOS. occam 2.1 Reference Manual (PDF). SGS-THOMSON Microelectronics Ltd. 1995-05-12 [2020-05-03]. (原始内容存档 (PDF)于2020-08-01). , INMOS document 72 occ 45 03
  3. ^ Resources about threaded programming in the Bell Labs CSP style. [2010-04-15]. (原始内容存档于2013-04-26). 
  4. ^ Language Design FAQ: Why build concurrency on the ideas of CSP?. [2020-05-03]. (原始内容存档于2013-01-02). 
  5. ^ Clojure core.async Channels. [2020-05-03]. (原始内容存档于2019-07-05). 
  6. ^ 6.0 6.1 Hoare, C. A. R. Communicating sequential processes (PDF). Communications of the ACM. 1978, 21 (8): 666–677 [2020-05-03]. doi:10.1145/359576.359585. (原始内容存档 (PDF)于2020-12-30). 
  7. ^ Abdallah, Ali E.; Jones, Cliff B.; Sanders, Jeff W. Communicating Sequential Processes: The First 25 Years. LNCS 3525. Springer. 2005. ISBN 9783540258131. 
  8. ^ Barrett, G. Model checking in practice: The T9000 Virtual Channel Processor. IEEE Transactions on Software Engineering. 1995, 21 (2): 69–78. doi:10.1109/32.345823. 
  9. ^ Hall, A; Chapman, R. Correctness by construction: Developing a commercial secure system (PDF). IEEE Software. 2002, 19 (1): 18–25 [2020-05-03]. doi:10.1109/52.976937. (原始内容存档 (PDF)于2020-12-02). 
  10. ^ Creese, S. Data Independent Induction: CSP Model Checking of Arbitrary Sized Networks. D. Phil. Oxford University. 2001. 
  11. ^ 11.0 11.1 Hoare, C. A. R. Communicating Sequential Processes. Prentice Hall. 1985. ISBN 978-0-13-153289-2. 
  12. ^ Clinger, William. Foundations of Actor Semantics. Mathematics Doctoral Dissertation. MIT. June 1981. hdl:1721.1/6935. 
  13. ^ Brookes, Stephen; Hoare, C. A. R.; Roscoe, A. W. A Theory of Communicating Sequential Processes. Journal of the ACM. 1984, 31 (3): 560–599. doi:10.1145/828.833. 
  14. ^ ISO 8807,时态次序规定语言英语Language Of Temporal Ordering Specification

延伸阅读

外部链接