Score: 1

Hapax Locks : Value-Based Mutual Exclusion

Published: November 18, 2025 | arXiv ID: 2511.14608v1

By: Dave Dice, Alex Kogan

Potential Business Impact:

Makes computer programs run faster and smoother.

Business Areas:
Field-Programmable Gate Array (FPGA) Hardware

We present Hapax Locks, a novel locking algorithm that is simple, enjoys constant-time arrival and unlock paths, provides FIFO admission order, and which is also space efficient and generates relatively little coherence traffic under contention in the common case. Hapax Locks offer performance (both latency and scalability) that is comparable with the best state of the art locks, while at the same time Hapax Locks impose fewer constraints and dependencies on the ambient runtime environment, making them particularly easy to integrate or retrofit into existing systems or under existing application programming interfaces Of particular note, no pointers shift or escape ownership between threads in our algorithm.

Page Count
43 pages

Category
Computer Science:
Distributed, Parallel, and Cluster Computing