Thank you VERY much!!
Everything's clear now 


Dann

On Thu, Mar 4, 2010 at 1:33 PM, Igor R <boost.lists@gmail.com> wrote:
> Do you know how can I avoid the main thread to end before my thread is executed?

Use join().
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users