všetky možnosti
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Zdroj: libatomic-queue  ]

Balík: libatomic-queue0 (1.4-1)

Odkazy pre libatomic-queue0

Screenshot

Zdroje Debian:

Stiahnuť zdrojový balík libatomic-queue:

Správcovia:

Externé zdroje:

Podobné balíky:

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.

Ostatné balíky súvisiace s balíkom libatomic-queue0

  • závisí
  • odporúča
  • navrhuje
  • vylepšuje

Stiahnuť libatomic-queue0

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
amd64 58.3 kB221.0 kB [zoznam súborov]