Boost Users :
From: David Abrahams (dave_at_[hidden])
Date: 2008-08-24 20:23:44
on Sat Aug 23 2008, Jean-Sebastien Stoezel <js.stoezel-AT-gmail.com> wrote:
> 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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net