|
Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
|
Lock-free typed job queue with MPMC patterns and performance benchmarks. More...
#include "typed_thread_pool/scheduling/typed_job_queue.h"#include "typed_thread_pool/jobs/typed_job.h"#include "typed_thread_pool/jobs/callback_typed_job.h"#include "logger/core/logger.h"#include <thread>#include <vector>#include <atomic>#include <chrono>#include <random>#include <map>
Go to the source code of this file.
Functions | |
| void | basic_typed_queue_example () |
| void | mpmc_typed_queue_example () |
| void | performance_comparison_example () |
| void | task_scheduling_example () |
| void | stress_test_example () |
| int | main () |
Lock-free typed job queue with MPMC patterns and performance benchmarks.
Definition in file typed_job_queue_sample.cpp.
| void basic_typed_queue_example | ( | ) |
Definition at line 35 of file typed_job_queue_sample.cpp.
References kcenon::thread::job::do_work().
Referenced by main().


| int main | ( | ) |
Definition at line 507 of file typed_job_queue_sample.cpp.
References basic_typed_queue_example().

| void mpmc_typed_queue_example | ( | ) |
Definition at line 116 of file typed_job_queue_sample.cpp.
References kcenon::thread::job::do_work(), and kcenon::thread::result< T >::is_ok().

| void performance_comparison_example | ( | ) |
Definition at line 241 of file typed_job_queue_sample.cpp.
References kcenon::thread::completed, and kcenon::thread::job::do_work().

| void stress_test_example | ( | ) |
Definition at line 436 of file typed_job_queue_sample.cpp.
References kcenon::thread::job::do_work().

| void task_scheduling_example | ( | ) |
Definition at line 309 of file typed_job_queue_sample.cpp.
References kcenon::thread::completed, kcenon::thread::created, kcenon::thread::failed, kcenon::thread::result< T >::is_ok(), kcenon::thread::latency, system_running, and kcenon::thread::result< T >::value().
