Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article
Open access

Modeling the distributed termination convention of CSP

Published: 01 July 1984 Publication History
First page of PDF

References

[1]
APT, K.R. Formal justification of a proof system for communicating sequential processes. J. ACM 30, I (Jan. 1983), 197-216.
[2]
APT, K.R. Modelling the distributed termination convention of CSP. Tech. Rep. 83-10, LITP, Paris, 1983.
[3]
APT, K.R., FRANCEZ, N., AND DE ROEVER, W.P. A proof system for communicating sequential processes. ACM Trans. Prog. Lang. Syst. 2, 3 (July 1980), 359-385.
[4]
APT, K.R., AND OLDEROO, E.-R. Proof Rules and Trans{ormations Dealing with Fairness. Vol. 3, Science of Computer Programming. Elsevier North Holland, New York, 1983.
[5]
ASTESIANO, E., AND ZUCCA, E. Semantics by translation of CSP and its relationship with /?-semantics. In Proceedings of the lOth MFCS. Lecture Notes in Computer Science, vol. 118. Springer-Verlag, New York, 1981.
[6]
BERNSTEIN, A. Output guards and nondeterminism in Communicating Sequential Processes. ACM Trans. Prog. Lang. Syst. 2, 2 (Apr. 1980), 234-238.
[7]
BUCKLEY, G.N., AND SILBERSCHATZ, A. An effective implementation for the generalized inputoutput construct of CSP. ACM Trans. Prog. Lang. $yst. 5, 2 (Apr. 1983), 223-235.
[8]
FRANCEZ, N. Distributed termination. ACM Trans. Prog. Lang. $yst. 2, 1 (Jan. 1980) 42-55.
[9]
FRANCEZ, N. Program transformations eliminating the distributed termination convention of CSP. Tech. Rep. RC-9935, IBM Thomas J. Watson Research Center, Yorktown Heights, N.Y., 1983.
[10]
FRANCEZ, N., LEHMANN, D., AND PNEULI, A. Linear history semantics for distributed languages. In Proceedings 21st FOCS Con{erence, (Syracuse, N.Y., October) 1980.
[11]
HO^RE, C.A.R. Communicating sequential processes, Commun. ACM 21, 8 (Aug. 1978), 666- 677.
[12]
KIEBURTZ, R.B., AND SILBERSCHATZ, A. Comments on "Communicating sequential processes". ACM Trans. Prog. Lang. Syst. 1, 2 (Oct. 1979), 218-225.
[13]
LEVIN, G.M., AND GRiES, D. A proof technique for communicating sequential processes. Acta In{. 15, 3 (198 ! ), 281-302.
[14]
MILNER, R. A Calculus {or Communicating Systems. Lecture Notes in Computer Science, vol. 92. Springer-Verlag, New York, 1980.

Cited By

View all
  • (2022)On the existence of symmetric algorithms to find leaders in networks of communicating sequential processesActa Informatica10.1007/BF0026358425:2(179-201)Online publication date: 10-Mar-2022
  • (2011)Monitoring distributed systems using knowledgeProceedings of the joint 13th IFIP WG 6.1 and 30th IFIP WG 6.1 international conference on Formal techniques for distributed systems10.5555/2022067.2022079(183-197)Online publication date: 6-Jun-2011
  • (2011)Monitoring Distributed Systems Using KnowledgeFormal Techniques for Distributed Systems10.1007/978-3-642-21461-5_12(183-197)Online publication date: 2011
  • Show More Cited By

Recommendations

Reviews

Robert Elliot Filman

Communication Sequential Processes (CSP) [1], a language for distributed programming, uses guarded Boolean expressions to control intraprocess repetition and interprocess communication. In the original CSP, an attempt by a process, A, to communicate with a terminated process could then lead to the exiting of a loop in A. This mechanism of ending a loop in a process on the basis of the termination of another process came to be known as the distributed termination convention. Such a convention is a weakness in a distributed language, for it implies a level of global knowledge in a distributed system. The authors show that the distributed termination convention can be modeled in CSP by making processes, whose termination is relied on, send explicit terminat- ion messages to those processes that rely on their termination. Thus, if process X relies on the termination of process Y to exit a loop, Y should send X an explicit end signal before terminating. This paper shows that the addition of these explicit signals is a purely syntactic operation on the text of a CSP program. The distributed termination convention can thus be removed by an action akin to compiler optimization. (The solution relies on the use of output guards in CSP, a feature not in the original language definition, but used by most subsequent researchers.) I see two main weaknesses in the algorithm as described. The first is that it depends on the ability to syntactically determine communication partners in CSP. Even this analysis is subverted by the facility in CSP for indexing into an array of processes. Thus, the result does not generalize to languages that allow more flexible communication structures, such as the creation of new processes or the passing of process names in communications. Second, since the algorithm requires explicit code and communications for each potential reliance on termination, the size of this code and the number of communications can grow proportional to the square of the communicating processes. This will be particularly unfortunate for those programs that exploit process indices—syntactic analysis does not reveal the true communication structure of such systems.

Access critical reviews of Computing literature here

Become a reviewer for Computing Reviews.

Comments

Information & Contributors

Information

Published In

cover image ACM Transactions on Programming Languages and Systems
ACM Transactions on Programming Languages and Systems  Volume 6, Issue 3
July 1984
147 pages
ISSN:0164-0925
EISSN:1558-4593
DOI:10.1145/579
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 July 1984
Published in TOPLAS Volume 6, Issue 3

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)35
  • Downloads (Last 6 weeks)3
Reflects downloads up to 01 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2022)On the existence of symmetric algorithms to find leaders in networks of communicating sequential processesActa Informatica10.1007/BF0026358425:2(179-201)Online publication date: 10-Mar-2022
  • (2011)Monitoring distributed systems using knowledgeProceedings of the joint 13th IFIP WG 6.1 and 30th IFIP WG 6.1 international conference on Formal techniques for distributed systems10.5555/2022067.2022079(183-197)Online publication date: 6-Jun-2011
  • (2011)Monitoring Distributed Systems Using KnowledgeFormal Techniques for Distributed Systems10.1007/978-3-642-21461-5_12(183-197)Online publication date: 2011
  • (2009)BibliographyProgramming Language Pragmatics10.1016/B978-0-12-374514-9.00002-1(849-865)Online publication date: 2009
  • (2005)The quest goes on: A survey of proofsystems for partial correctness of CSPCurrent Trends in Concurrency10.1007/BFb0027044(343-395)Online publication date: 9-Jun-2005
  • (2005)On the existence of generic broadcast algorithms in networks of Communicating Sequential ProcessesDistributed Algorithms10.1007/BFb0019818(388-407)Online publication date: 16-Jun-2005
  • (2005)Design and implementation of an exception handling mechanism for communicating sequential processesCONPAR 90 — VAPP IV10.1007/3-540-53065-7_137(604-615)Online publication date: 2-Jun-2005
  • (2005)An exercise in concurrency: A CSP process as a condition/event systemAdvances in Petri Nets 198810.1007/3-540-50580-6_25(85-105)Online publication date: 31-May-2005
  • (2003)A Verification Framework for Agent CommunicationAutonomous Agents and Multi-Agent Systems10.1023/A:10218362020936:2(185-219)Online publication date: 1-Mar-2003
  • (1990)Modeling distributed termination with pre-defined partial termination orderingProceedings of the 1990 IEEE Second Symposium on Parallel and Distributed Processing10.1109/SPDP.1990.143568(373-376)Online publication date: 2-Dec-1990
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Get Access

Login options

Full Access

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media