Files

1.5 KiB

title, type, source, source_url, author, handle, post_id, date, archived, draft, tags, description, in_reply_to
title type source source_url author handle post_id date archived draft tags description in_reply_to
The simplest multi-producer-multi-consumer ring buffer data structure would seem to need one "trit" (ternary bit) of state per buffer entry, for the states "awaiting write", "awaiting read", "busy" archive twitter https://x.com/bmcnett/status/1873744231719956872 bmcnett bmcnett 1873744231719956872 2024-12-30 2026-08-26 false
archive
twitter
bmcnett
The simplest multi-producer-multi-consumer ring buffer data structure would seem to need one "trit" (ternary bit) of state per buffer entry, for the states "awaiting write", "awaiting read", "busy"

Source

Thread

1/ @bmcnett ^1873744231719956872

The simplest multi-producer-multi-consumer ring buffer data structure would seem to need one "trit" (ternary bit) of state per buffer entry, for the states "awaiting write", "awaiting read", "busy"

Branches: archive/threads/bmcnett/2024-12-30-the-simplest-multi-producer-multi-consumer-ring/2024-12-30-mbur82-qubits, archive/threads/bmcnett/2024-12-30-the-simplest-multi-producer-multi-consumer-ring/2024-12-30-NOTimothyLottes-there-is-another-way-one-can-group-items-and-just, archive/threads/bmcnett/2024-12-30-the-simplest-multi-producer-multi-consumer-ring/2024-12-30-AgileJebrim-i-just-do-combinations-of-separate-spsc-ring