Skip to content

File spsc.hpp

FileList > include > loon > spsc.hpp

Go to the source code of this file

  • #include <atomic>
  • #include <cstddef>
  • #include <new>

Namespaces

Type Name
namespace loon

Classes

Type Name
class SpscQueue <typename T, N>
A lock-free single-producer single-consumer (SPSC) queue with fixed capacity.

Macros

Type Name
define CACHE_LINE_SIZE 64

Macro Definition Documentation

define CACHE_LINE_SIZE

#define CACHE_LINE_SIZE `64`


The documentation for this class was generated from the following file include/loon/spsc.hpp