Boost Users :
From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-11-06 11:58:11
Goroll, Torsten wrote:
> Thanks for the quick answers.
> I understood and experienced that the main thread blocks. But how can
> it join other threads, if it is blocked? That doesn't seem consistent
> to me.
That is what "join with thread T" means, "block until T has ended". It's not
clear what you mean by "not consistent", consistent with what? What would
you expect join to do if it doesn't block? If you don't want the main thread
to block waiting for T to end, then don't call join.
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