libjmmcg  build_2783
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::ppd::private_::kernel_priority::work< TPB, Pri, Wk > Class Template Reference

This library-internal class allows you to temporarily set the kernel-thread priority at which the work is to be run. More...

#include <thread_dsel_types.hpp>

Detailed Description

template<class TPB, typename TPB::thread_traits::api_params_type::priority_type Pri, class Wk>
class jmmcg::ppd::private_::kernel_priority::work< TPB, Pri, Wk >

This library-internal class allows you to temporarily set the kernel-thread priority at which the work is to be run.

Note that the original priority is always restored, even if exceptions are thrown. No hacks here, as we haven't erased the type like in set_priority_closure.

See also
priority

Definition at line 101 of file thread_dsel_types.hpp.


The documentation for this class was generated from the following file: