Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Quantitative Finance · Glossário

O que é Sequence lock?

Definition 12.3 Low-Latency Software · Capítulo 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.

Ler no capítulo →