|
pars 0.2.1
|
#include <runner.h>
Public Member Functions | |
| runner (hf_registry &hfs) | |
| std::size_t | next_job_id () |
| void | start_thread (std::size_t spec_hash, std::packaged_task< void(std::stop_token, job)> task, job j) |
| auto | count_threads () |
| void | stop_all_threads () |
| bool | can_exec (int s_id, std::size_t spec_hash) |
| void | exec (job j) |
| template<template< typename > typename kind_of, event_c event_t> requires kind_c<kind_of> | |
| void | exec (kind_of< event_t > ke) |
| void | add_pipe (const net::pipe &p) |
| void | remove_pipe (const net::pipe &p) |
| stop all running and remove all pending jobs for pipe p | |
| void | associate_job_to_pipe (const int j_id, const int p_id) |
| void | stop_thread (const int j_id) |
|
inline |
|
inline |
Definition at line 150 of file runner.h.
References pars::net::pipe::id().

|
inline |
Definition at line 175 of file runner.h.
References pars::debug(), pars::event, and SL.

|
inline |
|
inline |
|
inline |
Definition at line 102 of file runner.h.
References pars::debug(), pars::err(), pars::event, pars::ev::job::id(), SL, pars::ev::job::socket_id(), and pars::ev::job::spec_hash().
Referenced by exec().


|
inline |
Definition at line 145 of file runner.h.
References exec(), and next_job_id().

|
inline |
|
inline |
stop all running and remove all pending jobs for pipe p
Definition at line 160 of file runner.h.
References pars::net::pipe::id().

|
inline |
Definition at line 55 of file runner.h.
References pars::ev::job::id(), and pars::ev::job::socket_id().

|
inline |
|
inline |