|
std::thread::native_handle_type | get_native_handle_of_this_thread () |
| Get the native handle for the current thread. More...
|
|
tResult | set_priority (std::thread::native_handle_type oThreadHandle, tSchedulingClass eSchedulingClass, tFloat64 fPriority) |
| Sets the priority of a thread. More...
|
|
tResult | get_priority (std::thread::native_handle_type oThreadHandle, tSchedulingClass &eSchedulingClass, tFloat64 &fPriority) |
| Gets the priority of a thread. More...
|
|
tResult | set_cpu_affinity (std::thread::native_handle_type oThreadHandle, const tCpuAffinityMask &oCpuAffinity) |
| Sets the CPU affinity of a thread. More...
|
|
tResult | get_cpu_affinity (std::thread::native_handle_type oThreadHandle, tCpuAffinityMask &oCpuAffinity) |
| Gets the CPU affinity of a thread. More...
|
|
tResult | set_scheduling (std::thread::native_handle_type oThreadHandle, const tSchedulingParameters &sScheduling) |
| Sets the scheduling parameters of a thread. More...
|
|
tResult | get_scheduling (const std::thread::native_handle_type &oThreadHandle, tSchedulingParameters &sScheduling) |
| Gets the scheduling parameters of a thread. More...
|
|
template<typename Callable , typename ... Args> |
void | run_with_scheduling (tSchedulingParameters sScheduling, Callable &&pFunc, Args &&... args) |
| Sets the given scheduling paremeters and executes the given method afterwards. More...
|
|
template<typename Callable , typename ... Args> |
void | run_with_checked_scheduling (tSchedulingParameters sScheduling, Callable &&pFunc, Args &&... args) |
| Sets the given scheduling paremeters and executes the given method afterwards only if the scheduling paramaters have been set successfully. More...
|
|
tResult | create_thread_with_scheduling_impl (std::thread &oThread, const tSchedulingParameters &sScheduling, std::function< void()> pFunc) |
| For internal use only.
|
|
template<typename Callable , typename ... Args> |
tResult | create_thread_with_scheduling (std::thread &oThread, const tSchedulingParameters &sScheduling, Callable &&pFunc, Args &&... args) |
| Creates a new thread that has the given scheduling parameters. More...
|
|
template<typename Callable , typename ... Args> |
std::thread | create_thread_with_scheduling (const tSchedulingParameters &sScheduling, Callable &&pFunc, Args &&... args) |
| Creates a new thread that has the given scheduling parameters. More...
|
|
Copyright © Audi Electronics Venture GmbH.
All rights reserved
Definition in file thread_parameter.h.