Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
Loading...
Searching...
No Matches
queue.cppm File Reference

C++20 module partition for thread_system queue implementations. More...

#include <atomic>
#include <chrono>
#include <condition_variable>
#include <deque>
#include <functional>
#include <memory>
#include <mutex>
#include <optional>
#include <string>
#include <string_view>
#include <type_traits>
#include <vector>
#include <kcenon/thread/core/job_queue.h>
#include <kcenon/thread/queue/adaptive_job_queue.h>
#include <kcenon/thread/queue/queue_factory.h>
#include <kcenon/thread/lockfree/lockfree_queue.h>
#include <kcenon/thread/lockfree/lockfree_job_queue.h>
#include <kcenon/thread/lockfree/work_stealing_deque.h>
#include <kcenon/thread/interfaces/queue_capabilities_interface.h>
#include <kcenon/thread/interfaces/queue_capabilities.h>
#include <kcenon/thread/concurrent/concurrent_queue.h>
import kcenon.common;
Include dependency graph for queue.cppm:

Go to the source code of this file.

Namespaces

namespace  kcenon
 
namespace  kcenon::thread
 Core threading foundation of the thread system library.
 
namespace  kcenon::thread::detail
 

Macros

#define THREAD_SUPPRESS_LEGACY_LOCKFREE_QUEUE_WARNING   1
 

Detailed Description

C++20 module partition for thread_system queue implementations.

This module partition exports queue components:

  • job_queue: Standard mutex-protected job queue
  • adaptive_job_queue: Adaptive queue switching between modes
  • lockfree_job_queue: Lock-free queue implementation
  • lockfree_queue: Generic lock-free queue
  • work_stealing_deque: Work-stealing double-ended queue
  • queue_factory: Factory for creating queues
  • queue_capabilities: Queue capability descriptors

Part of the kcenon.thread module.

Definition in file queue.cppm.

Macro Definition Documentation

◆ THREAD_SUPPRESS_LEGACY_LOCKFREE_QUEUE_WARNING

#define THREAD_SUPPRESS_LEGACY_LOCKFREE_QUEUE_WARNING   1

Definition at line 45 of file queue.cppm.