|
Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
|
Thread-local hazard pointer list Each thread maintains a small array of hazard pointers. More...
#include <hazard_pointer.h>

Public Member Functions | |
| thread_hazard_list () | |
Public Attributes | |
| std::atomic< void * > | hazards [MAX_HAZARDS_PER_THREAD] |
| thread_hazard_list * | next |
| std::atomic< bool > | active |
Static Public Attributes | |
| static constexpr size_t | MAX_HAZARDS_PER_THREAD = 8 |
Thread-local hazard pointer list Each thread maintains a small array of hazard pointers.
Definition at line 32 of file hazard_pointer.h.
|
inline |
Definition at line 39 of file hazard_pointer.h.
References hazards.
| std::atomic<bool> kcenon::thread::detail::thread_hazard_list::active |
| std::atomic<void*> kcenon::thread::detail::thread_hazard_list::hazards[MAX_HAZARDS_PER_THREAD] |
Definition at line 35 of file hazard_pointer.h.
Referenced by kcenon::thread::detail::hazard_pointer_registry::mark_inactive(), kcenon::thread::detail::hazard_pointer_registry::scan_hazard_pointers(), and thread_hazard_list().
|
staticconstexpr |
Definition at line 33 of file hazard_pointer.h.
Referenced by kcenon::thread::hazard_pointer_domain< T >::get_stats(), and kcenon::thread::hazard_pointer::hazard_pointer().
| thread_hazard_list* kcenon::thread::detail::thread_hazard_list::next |
Definition at line 36 of file hazard_pointer.h.
Referenced by kcenon::thread::detail::hazard_pointer_registry::get_thread_list(), and kcenon::thread::detail::hazard_pointer_registry::scan_hazard_pointers().