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

Synchronization policies: mutex-based or spinlock-based. More...

#include <atomic>
#include <condition_variable>
#include <deque>
#include <memory>
#include <mutex>
#include <kcenon/thread/core/error_handling.h>
#include <kcenon/thread/core/job.h>
#include <kcenon/thread/core/safe_hazard_pointer.h>
#include <kcenon/thread/interfaces/queue_capabilities.h>
Include dependency graph for sync_policies.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::thread::policies::sync_policy_tag
 Tag type for sync policy identification. More...
 
class  kcenon::thread::policies::mutex_sync_policy
 Synchronization policy using mutex and condition variable. More...
 
class  kcenon::thread::policies::lockfree_sync_policy
 Lock-free synchronization policy using Michael-Scott algorithm. More...
 
struct  kcenon::thread::policies::lockfree_sync_policy::node
 
class  kcenon::thread::policies::adaptive_sync_policy
 Adaptive synchronization policy that can switch modes. More...
 

Namespaces

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

Detailed Description

Synchronization policies: mutex-based or spinlock-based.

See also
policy_queue

Definition in file sync_policies.h.