Skip to content
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
35542d1
include/ring: add lock-free ring queue implementation
CV-Bowen Apr 16, 2026
1c77d31
include/ring: refactor enqueue/dequeue into start + copy + finish
CV-Bowen Apr 23, 2026
06a16ad
include/ring: add skip API for advancing indices without data copy
CV-Bowen Apr 23, 2026
2697d50
include/ring: add zero-copy enqueue/dequeue start/finish API
CV-Bowen Apr 21, 2026
5a1d14d
include/ring: add atomic magic for warm-restart recovery
CV-Bowen Apr 22, 2026
665e88f
include/ring: add ring_space macro to query free slots
CV-Bowen Apr 27, 2026
65bf23c
include/ring: fix maybe-uninitialized warning in ring_buf_init
yezhonghui2024 May 8, 2026
e7129e2
include/ring: add enqueue_overwrite API for SPMC/MPMC modes
CV-Bowen Apr 30, 2026
ae82d69
include/ring: replace atomic with volatile+barrier for SPSC mode
CV-Bowen May 9, 2026
72189ed
include/ring: add usage guide comments
CV-Bowen May 15, 2026
2a3b391
include/ring: guard ring_copy_from/to against zero-count access
CV-Bowen May 15, 2026
5c29c56
include/ring: support arbitrary (non-power-of-2) capacity
CV-Bowen May 25, 2026
d75f1d6
include/nuttx/ring.h: add RING_SIZE_MAX and RING_SIZE_VALID macros
chenzihan0416 May 15, 2026
0afa08c
ring: apply cache-line alignment at declaration sites
CV-Bowen May 29, 2026
19fb7fd
ring: add ring_sc_peek/ring_mc_peek for peek with external index
chenzihan0416 May 29, 2026
139ffdd
include/ring: report net occupancy delta from overwrite enqueue
JianyuWang0623 May 29, 2026
cec98b1
include/ring: report drop count from ring_reset
JianyuWang0623 Jun 1, 2026
a2f58a4
include/nuttx/ring: add ring_mpsc_skipto/ring_mpmc_skipto API
chenzihan0416 Jun 2, 2026
e69d3cc
include/nuttx/ring: simplify public API naming
chenzihan0416 Jun 4, 2026
e838bee
include/ring: use UP_WFE/UP_SEV in spin-wait loops
Shanks0224 Jun 4, 2026
5a3579d
ring: add DEBUGASSERT for parameter validation in ring_init
chenzihan0416 Jun 8, 2026
48acb3c
ring: unify buffer size semantics with RING_CAPACITY macro
chenzihan0416 Jun 9, 2026
b424c97
include/nuttx: ring: remove flexible array member from ring_s
chenzihan0416 Jun 11, 2026
519b296
include/nuttx/ring: assert ring capacity fits RING_SIZE_MAX
JianyuWang0623 Jun 11, 2026
2e00b3d
include/nuttx/ring: fix ring_is_valid_cons for 24-bit index wrap
JianyuWang0623 Jun 11, 2026
5d5bf76
include/nuttx/ring: return discard count from overwrite helpers
JianyuWang0623 Jun 23, 2026
1dd0812
ring: add offset-relative peek API
CV-Bowen Jun 22, 2026
4e0d687
ring: add RING_IDX_OLDEST sentinel for peek helpers
CV-Bowen Jul 6, 2026
5696745
ring: add ring_wrap to normalise a position into the index space
CV-Bowen Jul 7, 2026
0357818
include/nuttx/ring: fix cnt leak on zero-count overwrite
CV-Bowen Jul 15, 2026
4b10a99
include/ring: add ring_mpmc_init/ring_mpsc_init/ring_spmc_init function
CV-Bowen Jul 3, 2026
abc5294
include/nuttx/ring: clamp torn-snapshot dequeue length in overwrite r…
JianyuWang0623 Jul 8, 2026
d4c405c
ring: fix note tearing across 24-bit index wrap on non-power-of-two c…
JianyuWang0623 Jul 6, 2026
5538b8f
ring.h: Remove RING_FIELD and access individual field directly
xiaoxiang781216 Aug 10, 2026
351839d
ring.h: Remove RING_BASE and all reference
xiaoxiang781216 Aug 10, 2026
763d5b1
include/ring: add a mandatory boot-scoped init guard
chenzihan0416 Jul 22, 2026
557e0f9
include/ring: replay already-consumed data on a warm restart
chenzihan0416 Aug 6, 2026
e39e75e
include/ring: fix overcommit in ring_mp_overwrite_start()
chenzihan0416 Aug 17, 2026
6ae2c23
include/ring: validate persisted geometry before warm restart
JianyuWang0623 Aug 20, 2026
b375839
include/ring: drop the request instead of spinning when eviction is c…
chenzihan0416 Aug 25, 2026
89769c9
include/ring: add all-or-nothing bulk enqueue/dequeue
chenzihan0416 Sep 2, 2026
943dd50
ring: guard skipto against a target lapped by the writer
yezhonghui2024 Oct 23, 2026
46f7c78
include/ring: drop elem_size, the ring works in bytes only
CV-Bowen Nov 2, 2026
327f665
include/ring: order consumer data reads against the ring indices
CV-Bowen Oct 27, 2026
4dbe772
include/ring: add slave mode to ring_spsc_init()
CV-Bowen Oct 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading