Abstract
Modern multiprocessor architectures have exacerbated problems of coordinating access to shared data, in particular as regards to the possibility of deadlock. For example semaphores, one of the most basic synchronization primitives, present difficulties. Djikstra defined semaphores to solve the problem of mutual exclusion. Practical implementation of the concept has, however, produced semaphores that are prone to deadlock, even while the original definition is theoretically free of it. This is not simply due to bad programming, but we have lacked a theory that allows us to understand the problem. We introduce a formal definition and new general theory of synchronization. We illustrate its applicability by deriving basic deadlock properties, to show where the problem lies with semaphores and also to guide us in finding some simple modifications to semaphores that greatly ameliorate the problem. We suggest some future directions for deadlock resolution that also avoid resource starvation. © 2010 IEEE.
Author supplied keywords
Cite
CITATION STYLE
Gomez, E., & Schubert, K. (2010). Algebra of synchronization with application to deadlock and semaphores. In Proceedings - 2010 1st International Conference on Networking and Computing, ICNC 2010 (pp. 202–208). https://doi.org/10.1109/IC-NC.2010.43
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.