|
Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
|
Service registry sample showing singleton service registration and thread pool usage. More...
#include <iostream>#include <memory>#include <thread>#include <atomic>#include <kcenon/thread/core/service_registry.h>#include <kcenon/thread/core/thread_pool.h>#include <kcenon/thread/core/thread_worker.h>#include <kcenon/thread/core/callback_job.h>
Go to the source code of this file.
Classes | |
| struct | demo_service |
Functions | |
| int | main () |
Service registry sample showing singleton service registration and thread pool usage.
Definition in file main.cpp.
| int main | ( | ) |
Definition at line 32 of file main.cpp.
References kcenon::thread::service_registry::get_service(), and kcenon::thread::service_registry::register_service().
