DocumentCode
2235008
Title
Algebra of Synchronization with Application to Deadlock and Semaphores
Author
Gomez, Ernesto ; Schubert, Keith
Author_Institution
Sch. of Comput. Sci. & Eng., California State Univ., San Bernardino, CA, USA
fYear
2010
fDate
17-19 Nov. 2010
Firstpage
202
Lastpage
208
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.
Keywords
algebraic specification; concurrency control; multiprocessing systems; Djikstra defined semaphores; concurrent programming; deadlock; formal definition; modern multiprocessor architectures; shared data; synchronization; formatting; style; styling;
fLanguage
English
Publisher
ieee
Conference_Titel
Networking and Computing (ICNC), 2010 First International Conference on
Conference_Location
Higashi-Hiroshima
Print_ISBN
978-1-4244-8918-3
Electronic_ISBN
978-0-7695-4277-5
Type
conf
DOI
10.1109/IC-NC.2010.43
Filename
5695235
Link To Document