
1 Dec
2004
1 Dec
'04
10:10 p.m.
On Wed, 1 Dec 2004 16:29:59 -0500, Tim Laplaca <tlaplaca@voiceglo.com> wrote:
I would have never thought of that, sounds dangerous! I tried it and it seems to work though. Is that pretty safe?
100% safe. See the discussion here: http://boost.org/doc/html/thread.html#threadconstruct-copy-destruct That said, it might be nice to have an argument to the boost::thread ctor to start a detached thread w/o needing to resort to using the heap. -- Caleb Epstein caleb dot epstein at gmail dot com