er crash a program,
    but unsynchronized accesses might yield surprising
    (non-sequentially-consistent) results.</p>

<h3 id="byte_atomicity">Atomicity</h3>
<p>Every byte sequence operation that accesses more than one byte is not
    atomic. This includes iteration and scanning.</p>

<p>For example, consider the following program:</p>
<pre class="codepre"><span class="keyword">let</span> size = 100_000_000
let b = Bytes.make size  ' '
let update b f ()  =
  Bytes.iteri (fun i x -&gt; Bytes.set b i (Cha