
Thanks, It worked.
regards,
Lloyd
On Mon, Nov 29, 2010 at 4:36 PM, Martin Dyring-Andersen wrote: Lloyd wrote: boost::thread_group tg;
for(int i=0;i But the threads are not joined, it is exiting without completion. What
could be the mistake I am doing? The thread pointer (th) will be destroyed once it goes out of scope, right
after end-curly-bracket in the loop. I think this is what you are looking for: boost::thread_group tg;
for(int i=0;i --
Best regards,
Martin Dyring-Andersen
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users