Boost logo

Boost Users :

Subject: Re: [Boost-users] Thread object pointers. (solved)
From: Albert Schueller (schuelaw_at_[hidden])
Date: 2010-08-03 20:22:37


> It matters because that's precisely what "join" is supposed
> to do...... halt the calling thread until the "joined" thread is done.

Why, in LISTING 1, doesn't

   thrd1.join();
   thrd2.join();
   thrd3.join();

do the same thing, i.e. hold until thrd1 is complete, then do thrd2,
then thrd3?

Albert


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