From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2007-02-08 18:18:49
Eugene Lyubimkin wrote:
> *Now class _boost::thread_ have only one constructor:
> /thread::thread( const function0<void>& )
> /So we cannot send any parameter to thread's main function, because its
> prototype have no parameters.
> My proposal: let add constructor
> /thread::thread( const function1<void, void*>& )/
> Parameter with type /void* /will be sent to thread function.
/* some code */
/* some members */
the members of the functor advantageously replace void*.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk