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.
Quantitative Finance · Glossary