Boost logo

Boost Users :

From: Andrew Maclean (andrew.amaclean_at_[hidden])
Date: 2008-08-25 02:39:56


Well ... enlighten us please!
I'm curious too.

Thanks
   Andrew

On Mon, Aug 25, 2008 at 10:50 AM, Jean-Sebastien Stoezel
<js.stoezel_at_[hidden]> wrote:
> yes
>
> On 24-Aug-08, at 7:23 PM, David Abrahams wrote:
>
>>
>> on Sat Aug 23 2008, Jean-Sebastien Stoezel <js.stoezel-AT-gmail.com>
>> 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_at_[hidden]
>> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

-- 
___________________________________________
Andrew J. P. Maclean
Centre for Autonomous Systems
The Rose Street Building J04
The University of Sydney 2006 NSW
AUSTRALIA
Ph: +61 2 9351 3283
Fax: +61 2 9351 7474
URL: http://www.acfr.usyd.edu.au/
___________________________________________

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