Boost logo

Boost Users :

Subject: [Boost-users] thread running many times
From: Kraus Philipp (philipp.kraus_at_[hidden])
Date: 2011-09-11 15:53:59


Hello,

I create a thread group and run the group with join_all(). My code shows like:

for(i=0; i < runs; ++i) {
     threadgoup.join_all();
     do something with the results
}

So I run the thread group n times. Is this the correct way or can I call join_all only once on the group?

Thanks

PHil



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