|
Hermes 0.7.0
Linux game streaming host
|
Non-destructive process-group liveness checks and bounded cleanup helpers. More...
#include <algorithm>#include <cerrno>#include <chrono>#include <csignal>#include <cstdint>#include <limits>#include <sys/wait.h>#include <thread>#include <unistd.h>Go to the source code of this file.
Functions | |
| template<class Running> | |
| bool | platf::process_group::wait_for_exit (Running running, std::chrono::steady_clock::duration timeout) |
| bool | platf::process_group::valid (std::uintptr_t handle) |
| bool | platf::process_group::running (std::uintptr_t handle) |
| bool | platf::process_group::signal (std::uintptr_t handle, int sig) |
| void | platf::process_group::reap_children (std::uintptr_t handle) |
Non-destructive process-group liveness checks and bounded cleanup helpers.
Definition in file process_group.h.
|
inline |
Definition at line 66 of file process_group.h.
|
inline |
Definition at line 38 of file process_group.h.
|
inline |
Definition at line 52 of file process_group.h.
|
inline |
Definition at line 32 of file process_group.h.
| bool platf::process_group::wait_for_exit | ( | Running | running, |
| std::chrono::steady_clock::duration | timeout ) |
Poll a child or a whole group without blocking waitpid beyond its deadline.
Definition at line 20 of file process_group.h.