skip to main content
10.1145/563340.563477acmconferencesArticle/Chapter ViewAbstractPublication PagessigcseConference Proceedingsconference-collections
Article

The well-tempered semaphore: theme with variations

Published:27 February 2002Publication History

ABSTRACT

This paper discusses differences in the semantics of various semaphore implementations and their ramifications in developing solutions to synchronization problems. An approach is described to insulate students from these differences and simplify the task of teaching semaphores.

References

  1. Brinch Hansen, P. The Programming Language Concurrent Pascal. IEEE Transactions on Software Engineering Vol. SE-1, No. 6, pp. 199-207, 1975.Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Coffman, E. G. Jr, and Denning, P. J. Operating Systems Theory. Prentice Hall, Englewood Cliffs, N.J., 1973 Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Comer, D. Operating System Design, the XINU Approach Bell Telephone Laboratories, Inc. 1984 Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Deitel, H. An Introduction to Operating Systems, Revised First Edition Addison Wesley, Reading Mass., 1984Google ScholarGoogle Scholar
  5. Dijkstra, E. W. The Structure of the THE-Multiprogramming System Communications of the ACM (May 1968) 341-346 Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Galli, D. Distributed Operating Systems Concepts & Practice Prentice Hall, Upper Saddle River, N.J., 2000 Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Hoare, C. A. R. Monitors, An Operating System Structuring Concept. Communications of the ACM Vol. 17, No 10, pp 549-557; 1974 Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Lewis, Bill, and Berg, Daniel Multithreaded Programming with PThreads Sun Microsystems Press, 2550 Garcia Avenue, Mountain View, Ca, 1998 Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Nutt, G. Operating Systems, A Modern Perspective, 2nd ed. Addison Wesley Longman, Reading, Mass., 2000 Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Shay, W. A. Introduction-to Operating Systems HarperCollins, New York, 1993 Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Silberschatz, A., Galvin, P., and Gagne, G. Applied Operating System Concepts John Wiley & Sons, 605 Third Avenue, NY, 2000 Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Stallings, W. Operating Systems, Internals and Design Principles, 3rd ed. Prentice Hall, Upper Saddle River, N.J., 1998 Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Stark, E. W. Semaphore Primitives and Starvation-Free Mutual Exclusion Journal of the ACM (Oct 1982) 1049-1072 Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Tanenbaum, A. Modern Operating Systems, 2nd ed. Prentice Hall, Upper Saddle River, N.J., 2001 Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Tsichritzis, D. C., and Bernstein, P. A. Operating Systems Academic Press, 111 Fifth Avenue, N.Y., 1974 Google ScholarGoogle ScholarDigital LibraryDigital Library
  1. The well-tempered semaphore: theme with variations

    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
    • Published in

      cover image ACM Conferences
      SIGCSE '02: Proceedings of the 33rd SIGCSE technical symposium on Computer science education
      February 2002
      471 pages
      ISBN:1581134738
      DOI:10.1145/563340
      • cover image ACM SIGCSE Bulletin
        ACM SIGCSE Bulletin  Volume 34, Issue 1
        Inroads: paving the way towards excellence in computing education
        March 2002
        417 pages
        ISSN:0097-8418
        DOI:10.1145/563517
        Issue’s Table of Contents

      Copyright © 2002 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 27 February 2002

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • Article

      Acceptance Rates

      SIGCSE '02 Paper Acceptance Rate73of234submissions,31%Overall Acceptance Rate1,595of4,542submissions,35%

      Upcoming Conference

      SIGCSE Virtual 2024
      SIGCSE Virtual 2024: ACM Virtual Global Computing Education Conference
      November 30 - December 1, 2024
      Virtual Event , USA

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader