Abortable Reader-Writer Locks Are No More Complex Than Abortable Mutex Locks

被引:0
作者
Jayanti, Prasad [1 ]
Liu, Zhiyu [1 ]
机构
[1] Dartmouth Coll, Dept Comp Sci, Hanover, NH 03755 USA
来源
DISTRIBUTED COMPUTING, DISC 2012 | 2012年 / 7611卷
关键词
concurrent algorithm; synchronization; reader-writer exclusion; mutual exclusion; abortability; RMR complexity; shared memory algorithm; MUTUAL EXCLUSION; SYNCHRONIZATION; ALGORITHMS;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
When a process attempts to acquire a mutex lock, it may be forced to wait if another process currently holds the lock. In certain applications, such as real-time operating systems and databases, indefinite waiting can cause a process to miss an important deadline [19]. Hence, there has been research on designing abortable mutual exclusion locks, and fairly efficient algorithms of O(log n) RMR complexity have been discovered [11,14] (n denotes the number of processes for which the algorithm is designed). The abort feature is just as important for a reader-writer lock as it is for a mutual exclusion lock, but to the best of our knowledge there are currently no abortable reader-writer locks that are starvation-free. We show the surprising result that any abortable, starvation-free mutual exclusion algorithm of RMR complexity t(n) can be transformed into an abortable, starvation-free reader-writer exclusion algorithm of RMR complexity O(t(n)). Thus, we obtain the first abortable, starvation-free reader-writer exclusion algorithm of O(log n) RMR complexity. Our results apply to the Cache-Coherent (CC) model of multiprocessors.
引用
收藏
页码:282 / 296
页数:15
相关论文
共 20 条
  • [1] Shared-memory mutual exclusion: major research trends since 1986
    Anderson, JH
    Kim, YJ
    Herman, T
    [J]. DISTRIBUTED COMPUTING, 2003, 16 (2-3) : 75 - 110
  • [2] Anderson T. E., 1990, IEEE Transactions on Parallel and Distributed Systems, V1, P6, DOI 10.1109/71.80120
  • [3] Bhatt V, 2011, LECT NOTES COMPUT SC, V6522, P119, DOI 10.1007/978-3-642-17679-1_11
  • [4] Constant RMR Solutions to Reader Writer Synchronization
    Bhatt, Vibhor
    Jayanti, Prasad
    [J]. PODC 2010: PROCEEDINGS OF THE 2010 ACM SYMPOSIUM ON PRINCIPLES OF DISTRIBUTED COMPUTING, 2010, : 468 - 477
  • [5] Reader-Writer Synchronization for Shared-Memory Multiprocessor Real-Time Systems
    Brandenburg, Bjoern B.
    Anderson, James H.
    [J]. PROCEEDINGS OF THE 21ST EUROMICRO CONFERENCE ON REAL-TIME SYSTEMS, 2009, : 184 - 193
  • [6] CONCURRENT CONTROL WITH READERS AND WRITERS
    COURTOIS, PJ
    HEYMANS, F
    PARNAS, DL
    [J]. COMMUNICATIONS OF THE ACM, 1971, 14 (10) : 667 - &
  • [7] Danek R, 2004, LECT NOTES COMPUT SC, V3274, P71
  • [8] SOLUTION OF A PROBLEM IN CONCURRENT PROGRAMMING CONTROL
    DIJKSTRA, EW
    [J]. COMMUNICATIONS OF THE ACM, 1965, 8 (09) : 569 - &
  • [9] Fischer M.J., 1979, SFCS 1979, P234
  • [10] Hadzilacos V., 2001, P 20 ANN ACM S PRINC, P100