A generic local-spin fetch-and-φ-based mutual exclusion algorithm

  • Authors:
  • James H. Anderson;Yong-Jik Kim

  • Affiliations:
  • Department of Computer Science, University of North Carolina at Chapel Hill, Chapel Hill, NC 27599-3175, USA;Tmax Soft Research Center, 272-6 Seohyeon-dong, Seongnam-si, Gyeonggi-do 463-824, Republic of Korea

  • Venue:
  • Journal of Parallel and Distributed Computing
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a generic fetch-and-@f-based local-spin mutual exclusion algorithm, with O(1) time complexity under the remote-memory-references time measure. This algorithm is ''generic'' in the sense that it can be implemented using any fetch-and-@f primitive of rank 2N, where N is the number of processes. The rank of a fetch-and-@f 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 within an arbitration tree, one can easily construct a @Q(max(1,log"rN)) algorithm using any primitive of rank r, where 2=