33 lines
1.5 KiB
Markdown
33 lines
1.5 KiB
Markdown
---
|
|
title: "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\""
|
|
type: archive
|
|
source: twitter
|
|
source_url: "https://x.com/bmcnett/status/1873744231719956872"
|
|
author: "bmcnett"
|
|
handle: bmcnett
|
|
post_id: "1873744231719956872"
|
|
date: 2024-12-30
|
|
archived: 2026-08-26
|
|
draft: false
|
|
tags:
|
|
- archive
|
|
- twitter
|
|
- bmcnett
|
|
description: "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\""
|
|
in_reply_to: ""
|
|
---
|
|
|
|
## Source
|
|
|
|
- URL: https://x.com/bmcnett/status/1873744231719956872
|
|
- Author: bmcnett (@bmcnett)
|
|
- Posted: 2024-12-30 14:53:31
|
|
|
|
## 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]]
|