25 Aug
2008
25 Aug
'08
12:50 a.m.
yes On 24-Aug-08, at 7:23 PM, David Abrahams wrote:
on Sat Aug 23 2008, Jean-Sebastien Stoezel
wrote: Hello,
How to pass arguments to a thread?
From the documentation I thought I could do this: mp_ProcessorListenerThread = new boost::thread(ProcessorListener, this);
However I get the following error: 'boost::thread::thread' : no overloaded function takes 2 arguments
I'm just curious: is there some good reason you've chosen to dynamically allocate thread objects?
-- Dave Abrahams BoostPro Computing http://www.boostpro.com
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users