Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::threads::pool_pusher< Function > Class Template Reference

Manages a group threads for a large number of tasks processing. More...

Public Types

typedef std::conditional
< std::is_function< Function >
::value, Function *, Function >
::type 
value_type
 same as Function if Function is not a function prototype, otherwise value_type is a pointer type of function More...
 

Public Member Functions

 pool_pusher (pool &pobj, value_type fn)
 
void operator() () const
 

Detailed Description

template<typename Function>
class nana::threads::pool_pusher< Function >

Manages a group threads for a large number of tasks processing.

Member Typedef Documentation

template<typename Function >
typedef std::conditional<std::is_function<Function>::value, Function*, Function>::type nana::threads::pool_pusher< Function >::value_type

same as Function if Function is not a function prototype, otherwise value_type is a pointer type of function

Constructor & Destructor Documentation

template<typename Function >
nana::threads::pool_pusher< Function >::pool_pusher ( pool pobj,
value_type  fn 
)
inline

Member Function Documentation

template<typename Function >
void nana::threads::pool_pusher< Function >::operator() ( ) const
inline