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.
- [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 ScholarDigital Library
- [2] Hemmendinger, D. A Correct Implementation of General Semaphores, ACM Operating Systems Review, Vol. 22, #3, 46-48, 1988. Google ScholarDigital Library
- [3] Hemmendinger, D. Comments on "A Correct and Unrestrictive Implementation of General Semaphores", ACM Operating Systems Review, Vol. 23, #1, 7-8, 1988. Google ScholarDigital Library
- [4] Hsieh, C.S. Further Comments on Implementation of General Semaphores, ACM Operating Systems Review, Vol. 23, #1, 9- 10, 1989. Google ScholarDigital Library
- [5] Kearns, P. A Correct and Unrestrictive Implementation of General Semaphores, ACM Operating Systems Review, Vol. 22 #4, 46- 48, 1988. Google ScholarDigital Library
- [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 Scholar
- [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 ScholarDigital Library
- [8] Peterson, J.L., and Silberschatz, A. Operating Systems Concepts, Addison Wesley, 1985. Google ScholarDigital Library
- [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 Scholar
- [10] Silberschatz, A., and Galvin, P. Operating Systems Concepts, Addison Wesley, 1994. Google ScholarDigital Library
- [11] Tanenbaum, A.S. Modern Operating Systems, Prentice Hall, 1992. Google ScholarDigital Library
Index Terms
- A new exercise in concurrency
Recommendations
Semantics-based concurrency control: beyond commutativity
The concurrency of transactions executing on atomic data types can be enhanced through the use of semantic information about operations defined on these types. Hitherto, commutativity of operations has been exploited to provide enchanced concurrency ...
A new concurrency control mechanism for multi-threaded environment using transactional memory
Software transactional memory (STM) is one of the techniques used towards achieving non-blocking process synchronization in multi-threaded computing environment. In spite of its high potential, one of the major limitations of transactional memory (TM) ...
Comments