libjmmcg
release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
|
This library-internal class just creates a thread_wk_t for the user's closure_base-derived closure. More...
#include <dsel_core_work_creation.hpp>
Public Types | |
typedef P | pool_traits_type |
typedef pool_traits_type::os_traits | os_traits |
typedef pool_traits_type::cfg_type | cfg_type |
typedef get_process_fn_traits< InpWk, FnType, cfg_type >::type | process_fn_traits |
typedef process_fn_traits::result_type | result_type |
typedef process_fn_traits::process_fn_ptr | process_fn_ptr |
typedef process_fn_traits::type::template queue_item< FnPtr >::result | closure_t |
This library-internal class just creates a thread_wk_t for the user's closure_base-derived closure.
Note: one cannot give "exception-specifications" to non-joinable work, as you can't call get_results() on it, because the non-joinable transfer doesn't return an execution_context. (A constructor isn't used because you can't return a value from the constructor, and a member-template isn't used because of MSVC++ v12.00.8168 compiler limitations.)
InpWk | The closure_base-derived closure should contain a non-overloaded function called process() or process(result_type &), possibly const-qualified. |
Definition at line 159 of file dsel_core_work_creation.hpp.
typedef pool_traits_type::cfg_type jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::create_direct< P, InpWk, FnType, FnPtr >::cfg_type |
Definition at line 162 of file dsel_core_work_creation.hpp.
typedef process_fn_traits::type::template queue_item<FnPtr>::result jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::create_direct< P, InpWk, FnType, FnPtr >::closure_t |
Definition at line 169 of file dsel_core_work_creation.hpp.
typedef pool_traits_type::os_traits jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::create_direct< P, InpWk, FnType, FnPtr >::os_traits |
Definition at line 161 of file dsel_core_work_creation.hpp.
typedef P jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::create_direct< P, InpWk, FnType, FnPtr >::pool_traits_type |
Definition at line 160 of file dsel_core_work_creation.hpp.
typedef process_fn_traits::process_fn_ptr jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::create_direct< P, InpWk, FnType, FnPtr >::process_fn_ptr |
Definition at line 168 of file dsel_core_work_creation.hpp.
typedef get_process_fn_traits<InpWk, FnType, cfg_type>::type jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::create_direct< P, InpWk, FnType, FnPtr >::process_fn_traits |
Definition at line 166 of file dsel_core_work_creation.hpp.
typedef process_fn_traits::result_type jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::create_direct< P, InpWk, FnType, FnPtr >::result_type |
Definition at line 167 of file dsel_core_work_creation.hpp.