{"id":{"repo_id":"calgary","oai_identifier":"oai:ucalgary.scholaris.ca:1880/123667"},"canonical_url":"https://search.ndltd.org/etd/calgary/oai:ucalgary.scholaris.ca:1880/123667","repository":{"repo_id":"calgary","name":"University of Calgary","base_url":"https://ucalgary.scholaris.ca/server/oai/request"},"display":{"title":"A Space-Optimal Randomized Wait-Free Lock","abstract":"Locks 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.","abstract_html":"Locks 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.","abstract_has_math":false,"creators":["Aeini, Kahbod"],"institution":"Science","degree_name":"Master of Science (MSc)","degree_level":null,"degree_discipline":"Computer Science","degree_department":null,"school":null,"contributors":[],"advisors":["Woelfel, Philipp"],"committee_chairs":[],"committee_members":["Woelfel, Philipp","Panagiota, Fatourou","Schiedler, Renate"],"year":2025,"date_issued":"2025-12-23","date_published":"2025-12-23","updated_at":"2026-11-19T07:33:30Z","subjects":[],"languages":["en"],"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."],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1880/123667"],"render_values":[{"text":"https://hdl.handle.net/1880/123667","href":"https://hdl.handle.net/1880/123667","code":true}]},{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Aeini, K. (2025). A space-optimal randomized wait-free lock (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca."],"render_values":[{"text":"Aeini, K. (2025). A space-optimal randomized wait-free lock (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca.","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.11575/PRISM/50896","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.11575/PRISM/50896","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Acalgary%3Aoai%3Aucalgary.scholaris.ca%3A1880%2F123667","prefix":"oai_dc"},"source_record":{"url":"https://ucalgary.scholaris.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aucalgary.scholaris.ca%3A1880%2F123667","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Woelfel, Philipp"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Woelfel, Philipp","Panagiota, Fatourou","Schiedler, Renate"]},{"key":"dc:creator","label":"Author","values":["Aeini, Kahbod"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2026-02"]},{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-12-23T21:54:07Z"]},{"key":"dc:date.issued","label":"Date","values":["2025-12-23"]},{"key":"dc:publisher.faculty","label":"Dc Publisher Faculty","values":["Science"]},{"key":"dc:type","label":"Dc Type","values":["master thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science (MSc)"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Calgary"]},{"key":"thesis:release_request","label":"Thesis Release Request","values":["I do not require a thesis withhold – my thesis will have open access and can be viewed and downloaded publicly as soon as possible."]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject.classification","label":"Dc Subject Classification","values":["Computer Science"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["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."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Aeini, K. (2025). A space-optimal randomized wait-free lock (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca."]},{"key":"dc:identifier.doi","label":"DOI","values":["https://dx.doi.org/10.11575/PRISM/50896"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1880/123667"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Locks 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."]},{"key":"dc:title","label":"Title","values":["A Space-Optimal Randomized Wait-Free Lock"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Woelfel, Philipp"],"dc:contributor.committeemember":["Woelfel, Philipp","Panagiota, Fatourou","Schiedler, Renate"],"dc:creator":["Aeini, Kahbod"],"dc:date":["2026-02"],"dc:date.accessioned":["2025-12-23T21:54:07Z"],"dc:date.issued":["2025-12-23"],"dc:description.abstract":["Locks 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."],"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."],"dc:identifier.doi":["https://dx.doi.org/10.11575/PRISM/50896"],"dc:identifier.uri":["https://hdl.handle.net/1880/123667"],"dc:language.iso":["en"],"dc:publisher.faculty":["Science"],"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."],"dc:subject.classification":["Computer Science"],"dc:title":["A Space-Optimal Randomized Wait-Free Lock"],"dc:type":["master thesis"],"dspace:entity.type":["Publication"],"others:access_status":["open.access"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_name":["Master of Science (MSc)"],"thesis:institution_name":["University of Calgary"],"thesis:release_request":["I do not require a thesis withhold – my thesis will have open access and can be viewed and downloaded publicly as soon as possible."]},"updated_at":"2026-11-19T07:33:30Z"}