Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> libs >> libatomic-queue0
aramo  ]
[ 原始碼: libatomic-queue  ]

套件: libatomic-queue0 (0.0+git20211209.7db4cea-1)

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.

This package contains the dynamic library.

其他與 libatomic-queue0 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: libc6 (>= 2.34)
    GNU C Library: Shared libraries
    同時作為一個虛擬套件由這些套件提供: libc6-udeb
  • dep: libgcc-s1 (>= 3.0)
    GCC support library
  • dep: libstdc++6 (>= 11)
    GNU Standard C++ Library v3

下載 libatomic-queue0

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
amd64 59.8 kB215 kB [文件列表]