Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem with boost:thread
From: Eric J. Holtman (eric_at_[hidden])
Date: 2010-03-04 12:29:51


Daniel Veneros wrote:
>
> Do you know how can I avoid the main thread to end before my thread is
> executed?

To quote the original response:

"That's why you need
to wait for the 2nd thread -- by means of 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