Abstract
An intermediate-level specification notation, Logs, is presented for PRAM/BSP-style programming. It extends pre-post style semantics to reveal state at points of global synchronization before termination (if that occurs). The result is an integration of the pre-post, finite and reactive-process styles of specification and in particular an extension of standard BSP. The language is provided with a complete set of laws, formulated to benefit from a simple predicative semantics and to be quite close to programming intuition. The language is compositional, and parallel composition is simply logical conjunction. Use of Logs, and of the laws for reasoning about it, is demonstrated on the problem of the dining philosophers.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
J.A. Bergstra and J.W. Klop, Algebra of communicating processes with abstraction, Theoretical Computer Science, 37(1): 77–121, 1985.
K.M. Chandy and J. Misra, Parallel Program Design: A Foundation, Addison-Wesley, 1988.
Y. Chen, How to write a healthiness condition, 2nd International Conference on Integrated Formal Methods, LNCS, 1945:299–317, Springer-Verlag, 2000.
Y. Chen and J.W. Sanders, Weakest specifunctions for BSP, Parallel Processing Letters (to appear) 2001.
Y. Chen and J.W. Sanders, Logic of global synchrony, Technical Report, RR-01-01, (http://web.comlab.ox.ac.uk/oucl/publications/tr/index.html), Oxford University Computing Laboratory, 2001.
Y. Chen, Formal Methods for Global Synchrony, D.Phil. Thesis, Oxford University Computing Laboratory, 2001.
Y. Chen, Fixpoints of non-monotonic functions, Technical Report 29, (http://www.mcs.le.ac.uk/techreports/2001/tr-2001-29.ps.gz), Department of Mathematics and Computer Science, University of Leicester, 2001.
J. Davies and S. Schneider, A brief history of Timed CSP, Theoretical Computer Science, 138: 243–271, 1995.
E.W. Dijkstra, Guarded commands, non-determinacy and the formal derivation of programs, Communications of the ACM, 18: 453–457, 1975.
E.W. Dijkstra, Two starvation free solutions to general exclusion problem, EWD 625, plataanstraat 5, 5671 Al Nuenen, The Netherlands, 1978.
S. Fortune and J. Wyllie, Parallelism in random access machines. Proc. 10th Annual ACM Symposium on Theory of Computing: 114–118, 1978.
M.W. Goudreau et al. A proposal for the BSP world-wide standard library (preliminary version), 1996.
C.A.R. Hoare, Communicating Sequential Processes, Prentice Hall, 1985.
C.A.R. Hoare and J. He, Unifying Theories of Programming, Prentice Hall, 1998.
L. Lamport, A temporal logic of actions, ACM Transctions on Programming Languages and Systems, 16(3): 872–923, 1994.
D.S. Lecomber, Methods ofBSP Programming, Oxford University Computing Laboratory DPhil. thesis, 1998.
W.F. McColl, Scalability, portability and predictability: The BSP approach to parallel programming, Future Generation Computer Systems 12: 265–272, 1996.
R. Milner, Communication and Concurrency, Prentice Hall, 1989.
G. Nelson, A generalization of Dijkstra’s calculus, ACM Transactions on Programming Languages and Systems, 11(4):517–561, 1989.
S.S. Owicki and D. Gries, An axiomatic proof technique for parallel programs I, Acta Informatica, 6(4): 319–340, 1976.
D.B. Skillicorn, Building BSP programs using the refinement calculus, Formal Methods for Parallel Programming and Applications, IPPS/SPDP’98, 1998.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2001 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Chen, Y., Sanders, J.W. (2001). Logic of Global Synchrony. In: Larsen, K.G., Nielsen, M. (eds) CONCUR 2001 — Concurrency Theory. CONCUR 2001. Lecture Notes in Computer Science, vol 2154. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44685-0_33
Download citation
DOI: https://doi.org/10.1007/3-540-44685-0_33
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-42497-0
Online ISBN: 978-3-540-44685-9
eBook Packages: Springer Book Archive