|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Reusable helpers for concurrent data-structure tests. More...
#include <atomic>#include <chrono>#include <condition_variable>#include <cstddef>#include <cstdint>#include <exception>#include <initializer_list>#include <mutex>#include <random>#include <system_error>#include <thread>#include <type_traits>#include <utility>#include <vector>#include <ah-errors.H>Go to the source code of this file.
Classes | |
| class | Aleph::Testing::Deterministic_Start_Gate |
| Single-use deterministic start gate for concurrent tests. More... | |
| class | Aleph::Testing::detail::Joining_Thread_Guard |
RAII guard that leaves no thread joinable when it goes out of scope, cancelling gate first so any thread still blocked in Deterministic_Start_Gate::arrive_and_wait() wakes up instead of waiting forever. More... | |
| struct | Aleph::Testing::Producer_Consumer_Stress_Config |
| Configuration for producer/consumer stress helpers. More... | |
| struct | Aleph::Testing::Producer_Consumer_Stress_Result |
| Result returned by producer/consumer stress helpers. More... | |
| struct | Aleph::Testing::Trace_Operation |
| One randomized operation trace entry. More... | |
Namespaces | |
| namespace | Aleph |
| Main namespace for Aleph-w library functions. | |
| namespace | Aleph::Testing |
| namespace | Aleph::Testing::detail |
Enumerations | |
| enum class | Aleph::Testing::Trace_Operation_Kind { Aleph::Testing::push , Aleph::Testing::pop , Aleph::Testing::insert , Aleph::Testing::erase , Aleph::Testing::contains } |
| Operation kind for randomized reference traces. More... | |
Reusable helpers for concurrent data-structure tests.
This header is test-only infrastructure. It intentionally lives under Tests/ and must not be included by production headers.
Definition in file concurrency_test_utils.H.