True.
> Trash myTrash("hello");At this point your main thread *ends* and the program ends, so the 2nd
> myTrash.start();
thread doesn't have an opportunity to do anything. That's why you need
to wait for the 2nd thread -- by means of join().
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users