Skip to main content

Generalized Committed Choice

  • Conference paper
Coordination Models and Languages (COORDINATION 2007)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 4467))

Included in the following conference series:

Abstract

We present a generalized committed choice construct for concurrent programs that interact with a shared store. The generalized committed choice (GCC) allows multiple computations from different alternatives to occur concurrently and later commit to one of them. GCC generalizes the traditional committed choice in Dijkstra’s Guarded Command Language to handle don’t know non-determinism and also allows for speculative computation. The main contribution of the paper is to introduce the GCC programming construct and the associated semantics framework for formalizing GCC. We give some experimental results which show that the power of GCC can be made practical.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Bonner, A.J., Kifer, M.: Transaction logic programming. In: Intl. Conf. on Logic Programming (1993)

    Google Scholar 

  2. Bonner, A.J., Kifer, M.: Concurrency and communication in transaction logic. In: Joint Intl. Conf. and Symp. on Logic Programming (1996)

    Google Scholar 

  3. Dayal, U., Hsu, M., Ladin, R.: Organizing long-running activities with triggers and transactions. ACM SIGMOD Conf. on Management of Data (1990)

    Google Scholar 

  4. Donnelly, K., Fluet, M.: Transactional events. In: Proceedings of ICFP (2006)

    Google Scholar 

  5. Dijkstra, E.W.: A Discipline of Programming. Prentice-Hall, Englewood Cliffs (1976)

    MATH  Google Scholar 

  6. Garcia-Molina, H., Salem, K.: Sagas. In: ACM SIGMOD Conf. on Management of Data (1987)

    Google Scholar 

  7. Gupta, G., Pontelli, E., Ali, K.A.M., Carlsson, M., Hermenegildo, M.V.: Parallel execution of prolog programs: a survey. ACM Trans. on Programming Languages and Systems 23(4), 472–602 (2001)

    Article  Google Scholar 

  8. Harris, T., Marlow, S., Jones, S.P., Herlihy, M.: Composable memory transactions. In: ACM SIGPLAN Symp. on Principles and Practice of Parallel Programming, ACM Press, New York (2005)

    Google Scholar 

  9. Hoare, C.: Communicating Sequential Processes. Prentice-Hall, Englewood Cliffs (1985)

    MATH  Google Scholar 

  10. Hull, M.E.C.: Occam - a programming language for multiprocessor systems. Comput. Lang. 12(1), 27–37 (1987)

    Article  MATH  Google Scholar 

  11. Jaffar, J., Yap, R.H., Zhu, K.Q.: Coordination of many agents. In: Intl. Conf. on Logic Programming (2005)

    Google Scholar 

  12. Jaffar, J., Yap, R.H.C., Zhu, K.Q.: Indexing for dynamic abstract regions. In: Intl. Conf. on Data Engineering (2006)

    Google Scholar 

  13. Milner, R., Parrow, J., Walker, D.: A calculus of mobile processes, part I/II. J, of Information and Computation 100, 1–77 (1992)

    Article  MATH  MathSciNet  Google Scholar 

  14. Nelson, G.: A generalization of dijkstra’s calculus. ACM Trans. on Programming Languages and Systems 11(4), 517–561 (1989)

    Article  Google Scholar 

  15. Ramakrishnan, R., Gehrke, J.: Database Management Systems. McGraw-Hill, New York (2002)

    Google Scholar 

  16. Saraswat, V.A.: Concurrent Constraint Programming. MIT Press, Cambridge (1993)

    Google Scholar 

  17. Shapiro, E.Y., Takeuchi, A.: Object oriented programming in concurrent prolog. New Generation Comput. 1(1), 25–48 (1983)

    Article  Google Scholar 

  18. Smolka, G.: The Oz programming model. Computer Science Today, pp. 324–343 (1995)

    Google Scholar 

  19. Ueda, K.: Guarded horn clauses. In: Intl. Conf. on Logic Programming (1986)

    Google Scholar 

  20. Vlahavas, I., Bassiliades, N.: Parallel, Object-Oriented, and Active Knowledge-Base Systems. Kluwer Academic Publishers, Dordrecht (1998)

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Amy L. Murphy Jan Vitek

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer Berlin Heidelberg

About this paper

Cite this paper

Jaffar, J., Yap, R.H.C., Zhu, K.Q. (2007). Generalized Committed Choice. In: Murphy, A.L., Vitek, J. (eds) Coordination Models and Languages. COORDINATION 2007. Lecture Notes in Computer Science, vol 4467. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-72794-1_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-72794-1_11

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-72793-4

  • Online ISBN: 978-3-540-72794-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics