| | |
Summary: A Generic LocalSpin Fetchand#based Mutual
Exclusion Algorithm #
James H. Anderson
Department of Computer Science
University of North Carolina at Chapel Hill
Chapel Hill, NC 275993175
Email: anderson@cs.unc.edu
YongJik Kim
Tmax Soft Research Center
2726 Seohyeondong, Seongnamsi
Gyeonggido, Korea 463824
Email: jick@tmax.co.kr
November 2005, Revised November 2006
Abstract
We present a generic fetchand#based localspin mutual exclusion algorithm, with O(1) time complexity
under the remotememoryreferences time measure. This algorithm is ``generic'' in the sense that it can be
implemented using any fetchand# primitive of rank 2N , where N is the number of processes. The rank of
a fetchand# primitive is a notion introduced herein; informally, it expresses the extent to which processes
may ``order themselves'' using that primitive. This algorithm breaks new ground because it shows that O(1)
time complexity is possible using a wide range of primitives. In addition, by applying our generic algorithm
|