Boost logo

Boost :

Subject: Re: [boost] [thread] basic mutex problem
From: Greg Rubino (bibil.thaysose_at_[hidden])
Date: 2011-08-12 18:17:54


On Fri, Aug 12, 2011 at 3:15 PM, Christian Holmquist
<c.holmquist_at_[hidden]> wrote:
>> Also, I am aware that I don't need to be
>> using threads here, but I am, and I don't understand why it's not
>> working.
>>
>>
> Does the code do the right thing if you remove the threads and just call
> random_activity_planner(activities,origin)();
> directly?

Hi Christian,

Thanks for the quick response! I tried that and it behaves as
expected if I remove the uses of boost::thread_group. That is, the
container grows to activity_count elements and they are all properly
initialized with random elements.

Greg
>
> - Christian
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk