skip to main content
article
Free Access

A new exercise in concurrency

Published:01 September 1994Publication History
Skip Abstract Section

Abstract

This article presents an exercise to be assigned whenever undergraduates are introduced to the concepts of concurrency and semaphores. It also presents several possible strategies to solve said exercise along with a "coded" solution.

References

  1. [1] Courtois, P.J., Heymans, F. and Parnas, D.L. Concurrent Control with Readers and Writers, Communications of the ACM, Vol. 10, # 10, 667-668, 1971. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. [2] Hemmendinger, D. A Correct Implementation of General Semaphores, ACM Operating Systems Review, Vol. 22, #3, 46-48, 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. [3] Hemmendinger, D. Comments on "A Correct and Unrestrictive Implementation of General Semaphores", ACM Operating Systems Review, Vol. 23, #1, 7-8, 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. [4] Hsieh, C.S. Further Comments on Implementation of General Semaphores, ACM Operating Systems Review, Vol. 23, #1, 9- 10, 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. [5] Kearns, P. A Correct and Unrestrictive Implementation of General Semaphores, ACM Operating Systems Review, Vol. 22 #4, 46- 48, 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. [6] Holt, R.C., Graham, G.S., Lazowska E.D. and Scott, M.A. Structured Concurrent Programming with Operating Systems Applications, Addison Wesley, 1978. (Exercise #19, page 109.).Google ScholarGoogle Scholar
  7. [7] Kotulski, L. Comments on Implementation of P and V Primitives with help of Binary Semaphores, ACM Operating Systems Review, Vol. 22 #2, 53-59, 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. [8] Peterson, J.L., and Silberschatz, A. Operating Systems Concepts, Addison Wesley, 1985. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. [9] Patil, S.S. Limitations and Capabilities of Dijkstra's Semaphore Primitives for Coordination Among Processes, MIT Project MAC Computational Structures Group Memo, # 57, 1971.Google ScholarGoogle Scholar
  10. [10] Silberschatz, A., and Galvin, P. Operating Systems Concepts, Addison Wesley, 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. [11] Tanenbaum, A.S. Modern Operating Systems, Prentice Hall, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. A new exercise in concurrency

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      • Published in

        cover image ACM SIGCSE Bulletin
        ACM SIGCSE Bulletin  Volume 26, Issue 3
        Sept. 1994
        67 pages
        ISSN:0097-8418
        DOI:10.1145/187387
        Issue’s Table of Contents

        Copyright © 1994 Author

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 1 September 1994

        Check for updates

        Qualifiers

        • article

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader