
Can't help debug, but I copied your code verbatim and it compiled and ran ok for me on suse 10, x86_64, gcc 4.0.2(pre) with default. cout in calculate gave expected results for numThreads ==2 and ==9.
Did you compile with the debug version of boost::thread or the release version??? Sorry, I don't quite understand the meaning of "Can't help debug". Brian -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Matt Hurd Sent: Monday, January 09, 2006 1:08 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] boost::thread problem on 1.33.1
On 09/01/06, Brian Plummer
wrote: One note, if I print something to the screen in calculate() I only get one invocation. Hmmm....
Can't help debug, but I copied your code verbatim and it compiled and ran ok for me on suse 10, x86_64, gcc 4.0.2(pre) with default. cout in calculate gave expected results for numThreads ==2 and ==9. matt. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users