$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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()."