Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Quantitative Finance · Glossaire

Qu'est-ce que « Sequence lock » ?

Definition 12.3 Low-Latency Software · Chapitre 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.

Lire dans le chapitre →