全部搜索项
bullseye  ] [  bookworm  ] [  trixie  ] [  forky  ] [  sid  ]
[ 源代码: libatomic-queue  ]

软件包:libatomic-queue-dev(1.7.1-1)

libatomic-queue-dev 的相关链接

Screenshot

Debian 的资源:

下载源码包 libatomic-queue

维护小组:

外部的资源:

相似软件包:

devel files for C++ atomic_queue library

C++11 multiple-producer-multiple-consumer lockless queues based on circular buffer with std::atomic. The main design principle these queues follow is simplicity: the bare minimum of atomic operations, fixed size buffer, value semantics.

The circular buffer side-steps the memory reclamation problem inherent in linked-list based queues for the price of fixed buffer size. See Effective memory reclamation for lock-free data structures in C++ for more details.

These qualities are also limitations:

 * The maximum queue size must be set at compile time or construction time.
 * There are no OS-blocking push/pop functions.

Nevertheless, ultra-low-latency applications need just that and nothing more. The simplicity pays off, see the throughput and latency benchmarks.

Available containers are:

 * AtomicQueue - a fixed size ring-buffer for atomic elements.
 * OptimistAtomicQueue - a faster fixed size ring-buffer for atomic
   elements which busy-waits when empty or full.
 * AtomicQueue2 - a fixed size ring-buffer for non-atomic elements.
 * OptimistAtomicQueue2 - a faster fixed size ring-buffer for non-atomic
   elements which busy-waits when empty or full.

These containers have corresponding AtomicQueueB, OptimistAtomicQueueB, AtomicQueueB2, OptimistAtomicQueueB2 versions where the buffer size is specified as an argument to the constructor.

标签: 软件开发: 函数库, 角色: 开发用函数库

下载 libatomic-queue-dev

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
amd64 11.3 kB59.0 kB [文件列表]
arm64 11.3 kB59.0 kB [文件列表]
armhf 11.3 kB59.0 kB [文件列表]
i386 11.3 kB59.0 kB [文件列表]
ppc64el 11.3 kB59.0 kB [文件列表]
riscv64 11.3 kB59.0 kB [文件列表]
s390x 11.3 kB59.0 kB [文件列表]