ThreadSchedule 4.1.0
Modern C++ thread management library
Loading...
Searching...
No Matches
control.hpp File Reference
#include "../../result.hpp"
#include "../../scheduling.hpp"
#include "../../thread_affinity.hpp"
#include "../../thread_config.hpp"
#include "../scheduling/native.hpp"
#include "../try_result.hpp"
#include <condition_variable>
#include <exception>
#include <memory>
#include <mutex>
#include <new>
#include <system_error>
#include <tuple>
#include <type_traits>
#include <utility>
#include <vector>
Include dependency graph for control.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  threadschedule::detail::thread_start_gate

Namespaces

namespace  threadschedule
namespace  threadschedule::detail
 Aggregates multiple thread_registry_backend instances into a single queryable view.
namespace  threadschedule::detail::thread_lifecycle
namespace  threadschedule::detail::portable_thread_control

Functions

constexpr auto threadschedule::detail::to_priority_level (int nice_value) noexcept -> priority_level
constexpr auto threadschedule::detail::to_native (scheduling_config config) noexcept -> native_scheduling_config
auto threadschedule::detail::to_native (thread_affinity const &affinity) -> native_thread_affinity
auto threadschedule::detail::to_native (thread_config const &config) -> native_thread_config
auto threadschedule::detail::has_thread_configuration (thread_config const &config) noexcept -> bool
auto threadschedule::detail::from_native (native_thread_affinity const &affinity) -> thread_affinity
template<typename ThreadLike>
auto threadschedule::detail::thread_lifecycle::join (ThreadLike &value) -> result< void >
template<typename ThreadLike>
void threadschedule::detail::thread_lifecycle::join_or_throw (ThreadLike &value, char const *operation)
template<typename ThreadLike>
auto threadschedule::detail::thread_lifecycle::detach (ThreadLike &value) -> result< void >
template<typename ThreadLike>
void threadschedule::detail::thread_lifecycle::detach_or_throw (ThreadLike &value, char const *operation)
template<typename Control>
auto threadschedule::detail::portable_thread_control::configure (Control &control, thread_config const &config) -> result< void >
template<typename Control>
auto threadschedule::detail::portable_thread_control::set_priority (Control &control, priority_level level) -> result< void >
template<typename Control>
auto threadschedule::detail::portable_thread_control::set_nice (Control &control, nice_value value) -> result< void >
auto threadschedule::detail::portable_thread_control::get_priority (result< int > value) -> result< priority_level >
auto threadschedule::detail::portable_thread_control::get_nice (result< int > value) -> result< nice_value >
template<typename Control>
auto threadschedule::detail::portable_thread_control::set_affinity (Control &control, thread_affinity const &affinity) -> result< void >
auto threadschedule::detail::portable_thread_control::get_affinity (result< native_thread_affinity > affinity) -> result< thread_affinity >