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

Thread-local hazard pointer with explicit memory ordering for safe reclamation. More...

#include <algorithm>
#include <array>
#include <atomic>
#include <cassert>
#include <functional>
#include <memory>
#include <mutex>
#include <thread>
#include <unordered_set>
#include <vector>
Include dependency graph for safe_hazard_pointer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kcenon::thread::safe_hazard_pointer_record
 Thread-local hazard pointer record with explicit memory ordering. More...
 
class  kcenon::thread::safe_hazard_pointer_domain
 Global Hazard Pointer Domain Manager. More...
 
class  kcenon::thread::safe_hazard_guard
 
class  kcenon::thread::typed_safe_hazard_domain< T >
 Typed hazard pointer domain. More...
 

Namespaces

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

Functions

template<typename T >
void kcenon::thread::safe_retire_hazard (T *p)
 

Detailed Description

Thread-local hazard pointer with explicit memory ordering for safe reclamation.

See also
hazard_pointer For the basic implementation

Definition in file safe_hazard_pointer.h.