Fast Local-Spin Abortable Mutual Exclusion with Bounded Space
Fast Local-Spin Abortable Mutual Exclusion with Bounded Space
复制标题
有界空间的快速局部自旋可中止互斥
DOI:
10.1007/978-3-642-17653-1_27
复制
发表时间:
2010
期刊:
影响因子:
--
通讯作者:
Hyonho Lee
中科院分区:
文献类型:
--
作者:
Hyonho Lee
Abortable mutual exclusion is a variant of mutual exclusion, where processes are allowed to abort their invocations while waiting to enter the critical section. In this paper, we present an FCFS abortable mutual exclusion algorithm with bounded time and space, in which each invocation performs O(k2) RMAs if atmost k processes abort. We define an object type, S-HAD, from which it is easy to construct local-spin abortable mutual exclusion algorithms. Our main contribution is a waitfree implementation of an S-HAD object. We also develop a new, waitfree memory reclamation method, which generalizes reference counting, to achieve bounded space. The resulting algorithm uses O(N2) shared variables, each with O(log N) bits, where N is the number of processes.