This is an automated email from the ASF dual-hosted git repository.
xiaoxiang781216 pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
from f76086536d7 boards/stm32: Enable full optimization and LTO in ostest
configurations.
new c39cfe2177c include/ring: add lock-free ring queue implementation
new bbecbaa39c8 include/ring: refactor enqueue/dequeue into start + copy +
finish
new 6e6cbddacbc include/ring: add skip API for advancing indices without
data copy
new b96c08c97cc include/ring: add zero-copy enqueue/dequeue start/finish
API
new c2254361000 include/ring: add atomic magic for warm-restart recovery
new 1efeb7e4ff9 include/ring: add ring_space macro to query free slots
new 5f0b2cb9610 include/ring: fix maybe-uninitialized warning in
ring_buf_init
new f7f32294015 include/ring: add enqueue_overwrite API for SPMC/MPMC modes
new 6b6c0563abc include/ring: replace atomic with volatile+barrier for
SPSC mode
new 6eb52fb5feb include/ring: add usage guide comments
new 5f01b4a0fda include/ring: guard ring_copy_from/to against zero-count
access
new 276279e9367 include/ring: support arbitrary (non-power-of-2) capacity
new 3fbbe955d98 include/nuttx/ring.h: add RING_SIZE_MAX and
RING_SIZE_VALID macros
new ec18f42f3e9 ring: apply cache-line alignment at declaration sites
new e55e5026b0b ring: add ring_sc_peek/ring_mc_peek for peek with external
index
new 17989eceec6 include/ring: report net occupancy delta from overwrite
enqueue
new 780bbde2a0c include/ring: report drop count from ring_reset
new b3454b3f98c include/nuttx/ring: add ring_mpsc_skipto/ring_mpmc_skipto
API
new 178b7583f93 include/nuttx/ring: simplify public API naming
new 154102b4a5b include/ring: use UP_WFE/UP_SEV in spin-wait loops
new 03212998252 ring: add DEBUGASSERT for parameter validation in ring_init
new 64512654858 ring: unify buffer size semantics with RING_CAPACITY macro
new f4bcf937b71 include/nuttx: ring: remove flexible array member from
ring_s
new 3a7d680e055 include/nuttx/ring: assert ring capacity fits RING_SIZE_MAX
new 48328edca06 include/nuttx/ring: fix ring_is_valid_cons for 24-bit
index wrap
new 82ff92b9c52 include/nuttx/ring: return discard count from overwrite
helpers
new ca5b9296475 ring: add offset-relative peek API
new 265d6187e14 ring: add RING_IDX_OLDEST sentinel for peek helpers
new c8479293a66 ring: add ring_wrap to normalise a position into the index
space
new 32a31d39bd3 include/nuttx/ring: fix cnt leak on zero-count overwrite
new 461b1b897a2 include/ring: add
ring_mpmc_init/ring_mpsc_init/ring_spmc_init function
new 2cc4b639f05 include/nuttx/ring: clamp torn-snapshot dequeue length in
overwrite rings
new a2c293af7cd ring: fix note tearing across 24-bit index wrap on
non-power-of-two capacity
new 77439f44924 ring.h: Remove RING_FIELD and access individual field
directly
new e4403d3adaa ring.h: Remove RING_BASE and all reference
new 8408e1943ba include/ring: add a mandatory boot-scoped init guard
new 26ebbadf8a0 include/ring: replay already-consumed data on a warm
restart
new 220b6727043 include/ring: fix overcommit in ring_mp_overwrite_start()
new 25386f7f2b4 include/ring: validate persisted geometry before warm
restart
new f2909e04934 include/ring: drop the request instead of spinning when
eviction is capped
new f63125df0bd include/ring: add all-or-nothing bulk enqueue/dequeue
new bcb951fde44 ring: guard skipto against a target lapped by the writer
new df24cfd2d6b include/ring: drop elem_size, the ring works in bytes only
new 81129dfaace include/ring: order consumer data reads against the ring
indices
new 94bb636f724 include/ring: add slave mode to ring_spsc_init()
The 45 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
include/nuttx/ring.h | 2077 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 2077 insertions(+)
create mode 100644 include/nuttx/ring.h