skip to main content
article
Free access

A new exercise in concurrency

Published: 01 September 1994 Publication History

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.
[2]
[2] Hemmendinger, D. A Correct Implementation of General Semaphores, ACM Operating Systems Review, Vol. 22, #3, 46-48, 1988.
[3]
[3] Hemmendinger, D. Comments on "A Correct and Unrestrictive Implementation of General Semaphores", ACM Operating Systems Review, Vol. 23, #1, 7-8, 1988.
[4]
[4] Hsieh, C.S. Further Comments on Implementation of General Semaphores, ACM Operating Systems Review, Vol. 23, #1, 9- 10, 1989.
[5]
[5] Kearns, P. A Correct and Unrestrictive Implementation of General Semaphores, ACM Operating Systems Review, Vol. 22 #4, 46- 48, 1988.
[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.).
[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.
[8]
[8] Peterson, J.L., and Silberschatz, A. Operating Systems Concepts, Addison Wesley, 1985.
[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.
[10]
[10] Silberschatz, A., and Galvin, P. Operating Systems Concepts, Addison Wesley, 1994.
[11]
[11] Tanenbaum, A.S. Modern Operating Systems, Prentice Hall, 1992.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

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

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 September 1994
Published in SIGCSE Volume 26, Issue 3

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)108
  • Downloads (Last 6 weeks)12
Reflects downloads up to 25 Dec 2024

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media