---
title: Intermittent Bounded Bypass in MUTEX Protocols
url: https://www.emergentmind.com/topics/intermittent-bounded-bypass
type: topic
---

# Intermittent Bounded Bypass in MUTEX Protocols

to=arxiv_search.search d天天json
{"query":"id:2606.19003 OR title:\"On the Notions of Bounded Bypass, and How to Make any Deadlock-Free MUTEX Protocol Satisfy One of Them\"","max_results":5,"sort_by":"submittedDate","sort_order":"descending"}ുവനന്തപുരം
to=arxiv_search.search ＿一本道json
{"query":"\"intermittent\" \"bounded bypass\" OR \"post-doorway bounded bypass\" OR mutex bounded bypass","max_results":10,"sort_by":"submittedDate","sort_order":"descending"}
to=arxiv_search.search  亚历山大发json
{"query":"title:\"Synchronous Concurrent Broadcasts for Intermittent Channels with Bounded Capacities\" OR id:2011.05772","max_results":5,"sort_by":"submittedDate","sort_order":"descending"}
to=arxiv_search.search  天天中彩票官网json
{"query":"title:\"Safe Sharing of Fast Kernel-Bypass I/O Among Nontrusting Applications\" OR id:2509.02899","max_results":5,"sort_by":"submittedDate","sort_order":"descending"}
Intermittent bounded bypass is a liveness property for mutual exclusion protocols that weakens bounded bypass while remaining stronger than starvation-freedom. In its formal sense, it permits a process to ignore overtakes that occur during the execution of a bounded number of designated write operations to shared registers, called interrupting assignments, and counts only the remaining competitions before entry to the critical section. The notion was introduced to repair deficiencies in older formulations of bounded bypass and to capture fairness guarantees that remain achievable in weaker shared-memory models, especially with safe and regular registers. Outside mutual exclusion, the phrase has no standardized cross-domain meaning; related literatures instead use it only by analogy for bounded intermittent postponement, temporary detours, or bounded execution bursts under interruptions [2606.19003].

## 1. Origins and conceptual motivation

The classical motivation for bounded bypass is that starvation-freedom guarantees only eventual entry, not a uniform numeric bound on how many times other processes may enter first. The literature had long treated bounded bypass, or bounded waiting, as a strengthening of starvation-freedom, but the 2026 formulation argues that earlier definitions were unsatisfactory as standalone liveness properties. In particular, Raynal’s wording—there exists a function \(f(n)\) such that each invocation of `lock` loses at most \(f(n)\) competitions—does not imply eventual entry. The counterexample given is a protocol in which each `lock` is simply `await false`: no competition is ever lost, so the old definition is vacuously satisfied, yet the protocol is neither deadlock-free nor starvation-free [2606.19003].

A second difficulty concerns when counting should start. If bypasses are counted immediately from invocation of `lock`, then a process may be charged for overtakes occurring before it has performed even its first shared-memory action. The corrected bounded-bypass notion therefore starts counting only after the first instruction of `lock` completes. Intermittent bounded bypass retains this concern but weakens the fairness requirement in a different direction: it allows a bounded number of exceptional write intervals later in the execution during which bypasses are ignored. This isolates precisely those intervals in which weak-register anomalies can destroy any ordinary bypass bound.

## 2. Formal meaning

The paper defines a competition loss in the standard overlap sense: process \(i\) running `lock` loses a competition with process \(j\) if \(j\)’s `lock` overlaps in time with \(i\)’s and terminates earlier. Since terminating `lock` means entering the critical section, this is the bypass event being counted [2606.19003].

The repaired bounded-bypass notion is: every process that invokes `lock` enters the critical section, and this happens after losing at most \(f(n)\) competitions from the moment in which it completes the execution of the first instruction of the `lock`. Intermittent bounded bypass weakens this by introducing interrupting assignments.

Formally, a MUTEX protocol satisfies an intermittent bounded-bypass of \(f(n)\) within \(h(n)\) interrupting assignments if a set \(S\) of assignments to shared registers can be defined such that each time a process \(p_i\) starts its `lock`, it reaches its critical section after a period \(\pi\) satisfying two conditions:
\[
\text{at most } h(n) \text{ assignments in } S \text{ are made within } \pi,
\]
and
\[
p_i \text{ enters its critical section losing at most } f(n) \text{ competitions outside the execution of assignments in } S.
\]

The writes in \(S\) are the interrupting assignments. Thus the property ignores bypasses during the execution intervals of certain selected writes, but only finitely many of them, and only up to the bound \(h(n)\). Outside those intervals, the number of overtakes remains uniformly bounded. The notion is therefore quantitatively stronger than starvation-freedom, even though it is weaker than ordinary bounded bypass.

A subtle but important definitional distinction remains. For intermittent bounded bypass, `lock` is said to start when its first instruction starts, precisely so that the time before the first instruction is not automatically absorbed into an ignored interval. This differs from corrected bounded bypass, where counting begins only after completion of the first instruction.

## 3. Position in the liveness hierarchy

The paper places intermittent bounded bypass in a strict implication hierarchy together with bounded bypass, post-doorway bounded bypass, starvation-freedom, and deadlock-freedom. The established implications are
\[
\text{bounded bypass} \Rightarrow \text{intermittent bounded bypass} \Rightarrow \text{starvation-freedom} \Rightarrow \text{deadlock-freedom},
\]
and also
\[
\text{bounded bypass} \Rightarrow \text{post-doorway bounded bypass} \Rightarrow \text{starvation-freedom}.
\]
Intermittent bounded bypass and post-doorway bounded bypass are incomparable [2606.19003].

The separating examples are central to the meaning of the notion. Dekker’s algorithm is starvation-free but not bounded, not intermittent bounded-bypass, and not post-doorway bounded-bypass: after both processes begin trying, one process can temporarily withdraw its flag and sleep, allowing the other to enter arbitrarily many times. Anderson’s algorithm satisfies post-doorway bounded bypass but not bounded bypass and not intermittent bounded bypass, because if counting begins too early one process may be bypassed unboundedly before advancing beyond the first doorway instruction. The Bar-David transformation with safe registers satisfies intermittent bounded bypass but not full bounded bypass, which shows that the weakening is not merely terminological but captures behavior genuinely obtainable in weaker memory models.

The conceptual difference between intermittent and post-doorway variants is orthogonal. Post-doorway bounded bypass ignores all bypasses during one initial bounded prefix of `lock`, called the doorway, and that prefix may include reads, writes, and the time between them. Intermittent bounded bypass ignores bypasses only during the execution of certain selected write actions, possibly later and non-contiguously during `lock`.

## 4. Achievability and exact bounds under different register models

The main constructive result studies Yoah Bar-David’s 1998 transformation, which wraps any deadlock-free MUTEX protocol with a `FLAG`/`TURN` discipline. In the transformed `lock(i)`, process \(p_i\) performs `FLAG[i] ← 1`, repeatedly reads `TURN`, proceeds if `tmp = i` or `FLAG[tmp] = 0`, and then executes the underlying deadlock-free `lock(i)`. In `unlock(i)`, it writes `FLAG[i] ← 0`, reads `TURN`, possibly advances `TURN` to \((tmp+1) \bmod n\), and then executes the underlying `unlock(i)`. The paper labels the shared-memory actions `W1`, `W2`, `W3` and `R1`–`R4`, and these labels are used throughout the proofs [2606.19003].

The transformation yields different guarantees depending on the register semantics.

| Register model | Property obtained | Bound |
|---|---|---|
| Atomic registers | Bounded bypass | \(n(n-1)-1\) |
| Safe or regular registers | Intermittent bounded bypass | \(n^2-2\) within \(n\) interrupting assignments |

In the atomic-register setting, once a process completes `W1`, it enters the critical section after losing at most
\[
n(n-1)-1
\]
competitions, and the bound is stated to be tight. The proof decomposes the waiting time into the phase before `TURN` reaches the process and the phase after it does. Before `TURN` reaches \(i\), each increment of `TURN` can cost at most \(n-1\) losses, across at most \(n-1\) values, giving \((n-1)^2\). After `TURN` reaches \(i\), at most \(n-2\) further losses remain, for a total of
\[
(n-1)^2 + (n-2) = n(n-1)-1.
\]

In the safe-register setting, full bounded bypass is impossible for this transformation. The key counterexample uses three processes: if `TURN = 0` and \(p_0\) remains inside `W1` for a long time, then one process may repeatedly read `FLAG[0] = 1` and stay blocked while another repeatedly reads `FLAG[0] = 0`, enters, and exits, causing unbounded ordinary bypasses. The same scenario applies to regular registers. Nevertheless, by ignoring bypasses during a bounded number of selected `W1` intervals, the paper proves an intermittent bounded bypass of
\[
f(n)=n^2-2,\qquad h(n)=n,
\]
and states that the bound is tight for \(n>2\). The interrupting assignments are \(p_i\)’s own `W1` together with certain `W1` writes by the current `TURN` process that overlap the relevant waiting period in the precise sense given in the theorem.

## 5. Logical formalization and mechanized verification

The paper does not stop at proof sketches. It formalizes bounded bypass, post-doorway bounded bypass, and intermittent bounded bypass in the modal \(\mu\)-calculus and checks the claims with mCRL2. The transition system uses actions such as `lock_p`, `crit_p`, `wstart_p`, and `wfinish_p`, where `crit_q` actions are the finishing events that count as bypasses by process \(q\) [2606.19003].

For intermittent bounded bypass, the formalization tracks three resources simultaneously: remaining bypass budget \(b\), remaining interrupt budget \(h\), and the set of currently active writes. A bypass decrements \(b\) only when no chosen interrupting write is active. This directly encodes the definition’s requirement that overtakes are ignored only during selected write intervals and only up to a bounded number of them.

Model checking had substantive theoretical impact. It exposed an earlier non-tight atomic bound of \(n(n-1)\), leading to the corrected tight bound \(n(n-1)-1\). It also showed that, in the safe-register proof, interrupting writes must be identified by conditions holding during the write rather than merely at its end. The verified examples match the proof structure: Dekker violates the bounded variants checked, Anderson satisfies post-doorway bounded bypass with the specified doorway but not stronger variants, and the Bar-David transformation matches the atomic and safe/regular bounds above.

## 6. Broader technical analogues and non-equivalent usages

Outside shared-memory mutual exclusion, intermittent bounded bypass is not a standardized term. Several other literatures study mechanisms that resemble it structurally—bounded postponement, bounded temporary detours, or bounded bursts of privileged execution under interruption—but these are analogues rather than the same liveness property.

In synchronous broadcast over intermittent channels, the closest analogue is parity-constrained delayed forwarding. The extension of amnesiac flooding in “Synchronous Concurrent Broadcasts for Intermittent Channels with Bounded Capacities” permits postponement only to the next available round of the same parity. This restores termination under finite intermittent unavailability and extends to bounded-capacity concurrent broadcast, with delivery in at most
\[
Diam(G)+2f
\]
rounds and termination in at most
\[
2Diam(G)+2f+1
\]
when \(f\) node-round send opportunities are unavailable [2011.05772]. This is a bounded intermittent postponement discipline, but it is not a competition-counting fairness property.

In protected-library kernel-bypass I/O, “Safe Sharing of Fast Kernel-Bypass I/O Among Nontrusting Applications” studies a different pattern: every protected-library invocation must complete in modest bounded time, so unbounded waiting is moved outside the protected library via futex wrappers. Threads therefore alternate between short bounded protected execution and external waiting, then re-enter for the next bounded step [2509.02899]. This strongly resembles intermittent bounded bypass as an execution pattern, but it concerns time-bounded kernel-bypass service sharing rather than overtake bounds in MUTEX.

In congestion control, PABO temporarily bounces packets to upstream switches when output queues are congested, with bounce probability depending on queue utilization and prior bounce count. The mechanism is intermittent because it activates only above a threshold and softly bounded because repeat bouncing becomes less likely as bounce count increases [1802.07429]. Again, the resemblance is architectural rather than definitional.

Related analogues also appear in consensus under intermittent communication and input saturation, where trajectories are certified to remain inside computable bounded enclosing regions despite switching communication graphs [2605.24132], and in fault-tolerant computation under isolated bounded bursts of faults, where recovery proceeds locally on bounded intervals provided bursts are separated by \(V=O(\beta^2)\) [1203.1335]. These works share the motif of bounded operation under intermittent disruption, but they do not define intermittent bounded bypass in the mutual-exclusion sense.

Within its literal technical usage, intermittent bounded bypass remains a MUTEX liveness notion: every `lock` succeeds, and except for a bounded number of designated write intervals, the number of overtakes is uniformly bounded. Its significance lies in showing that quantitative fairness need not collapse entirely when the memory model is too weak for ordinary bounded bypass.

Source: https://www.emergentmind.com/topics/intermittent-bounded-bypass