Abstract
dc:description.abstractLocks are fundamental synchronization primitives that enable multiple processes to safely access shared resources. However, traditional locks either lack strong progress guarantees [19, 35, 36] or are not efficient in practice [1, 6, 28, 42]. This thesis presents a new randomized wait-free lock. The algorithm is adaptive to contention, uses constant space, achieves near-optimal expected step complexity and is simple to implement. We assume idempotency of critical section code, based on the works of Ben-David, Blelloch, and Wei [11]. At the core of our algorithm is the introduction of the Weighted Repeated Choice (WRC) type. In our algorithm, an object of type WRC, along with a counter, is used as a probabilistic consensus mechanism that favors early or less-contended processes. To the best of our knowledge, this is the first randomized wait-free lock that is optimal in space.
Degree
thesis:*- Name thesis:degree_name
- Master of Science (MSc)
- Discipline thesis:degree_discipline
- Computer Science
- Grantor
- Science
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Aeini, Kahbod
- Advisor dc:contributor.advisor
-
- Woelfel, Philipp
- Committee members dc:contributor.committeemember
-
- Woelfel, Philipp
- Panagiota, Fatourou
- Schiedler, Renate
Rights
dc:rights- Statement dc:rights
-
- Unless otherwise indicated, this material is protected by copyright and has been made available with authorization from the copyright owner. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission.
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Dc Identifier Citation
- Aeini, K. (2025). A space-optimal randomized wait-free lock (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca.