31 virtual void run() = 0;
44template <
typename F,
typename A>
68Thread::Thread(F functor) :
70m_entryPoint(new
priv::ThreadFunctor<F>(functor))
76template <
typename F,
typename A>
79m_entryPoint(new
priv::ThreadFunctorWithArg<F, A>(function, argument))
88m_entryPoint(new
priv::ThreadMemberFunc<C>(function, object))
Thread(F function)
Construct the thread from a functor with no argument.
ThreadFunctorWithArg(F function, A arg)
ThreadMemberFunc(void(C::*function)(), C *object)