|
threadman 0.1.0
Header-only C++23 managed threads, dynamic pools, futures, and executors
|
Optional cpp-parcel adapter. More...
#include <threadman/config.hpp>#include <threadman/json.hpp>#include <threadman/stats.hpp>#include <parcel/parcel.h>#include <memory>#include <sstream>#include <string>#include <string_view>
Go to the source code of this file.
Classes | |
| class | threadman::ThreadSnapshotCell |
| class | threadman::ThreadPoolStatsCell |
| class | threadman::TaskSnapshotCell |
| class | threadman::FutureSnapshotCell |
| class | threadman::ManagerSummaryCell |
Namespaces | |
| namespace | threadman |
Macros | |
| #define | THREADMAN_HAS_PARCEL 1 |
Functions | |
| void | threadman::register_cells (parcel::ParcelRegistry ®istry) |
| PARCEL_DEFAULT_CELL (threadman::ThreadSnapshotCell) | |
| PARCEL_DEFAULT_CELL (threadman::ThreadPoolStatsCell) | |
| PARCEL_DEFAULT_CELL (threadman::TaskSnapshotCell) | |
| PARCEL_DEFAULT_CELL (threadman::FutureSnapshotCell) | |
| PARCEL_DEFAULT_CELL (threadman::ManagerSummaryCell) | |
Optional cpp-parcel adapter.
Wraps the snapshot value-types as primitive-style parcel::BaseCells so they round-trip through a parcel::ParcelRegistry like any other cell.
Wire kinds:
tm:thread_snapshot — threadman::ThreadSnapshotCelltm:thread_pool_stats — threadman::ThreadPoolStatsCelltm:task_snapshot — threadman::TaskSnapshotCelltm:future_snapshot — threadman::FutureSnapshotCelltm:manager_summary — threadman::ManagerSummaryCell | #define THREADMAN_HAS_PARCEL 1 |
| PARCEL_DEFAULT_CELL | ( | threadman::FutureSnapshotCell | ) |
| PARCEL_DEFAULT_CELL | ( | threadman::ManagerSummaryCell | ) |
| PARCEL_DEFAULT_CELL | ( | threadman::TaskSnapshotCell | ) |
| PARCEL_DEFAULT_CELL | ( | threadman::ThreadPoolStatsCell | ) |
| PARCEL_DEFAULT_CELL | ( | threadman::ThreadSnapshotCell | ) |