Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Quantitative Finance · Begrippenlijst

Wat is Sequence lock?

Definition 12.3 Low-Latency Software · Hoofdstuk 12 — Queues, Ring Buffers and Shared Memory

A sequence lock publishes a small value that one writer updates and many readers read: the writer increments a counter to an odd value, writes the value, and increments it again to an even value; a reader reads the counter, copies the value, reads the counter again, and retries if the two readings differ or are odd.

Lees in het hoofdstuk →