ThreadSchedule 3.0.0
Modern C++ thread management library
Loading...
Searching...
No Matches
threadschedule::advanced::profile_detail Namespace Reference

Functions

auto make_config (thread_profile const &profile, std::string name) -> thread_config
 
template<typename ThreadLike >
auto apply_to_thread (ThreadLike &value, thread_profile const &profile) -> result< void >
 
template<typename Pool >
auto apply_to_pool (Pool &pool, std::string name, thread_profile const &profile) -> result< void >
 

Function Documentation

◆ apply_to_pool()

template<typename Pool >
auto threadschedule::advanced::profile_detail::apply_to_pool ( Pool &  pool,
std::string  name,
thread_profile const &  profile 
) -> result<void>

◆ apply_to_thread()

template<typename ThreadLike >
auto threadschedule::advanced::profile_detail::apply_to_thread ( ThreadLike &  value,
thread_profile const &  profile 
) -> result<void>

Definition at line 68 of file thread_profile.hpp.

References make_config().

Referenced by threadschedule::advanced::apply_profile().

◆ make_config()

auto threadschedule::advanced::profile_detail::make_config ( thread_profile const &  profile,
std::string  name 
) -> thread_config
inline