$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Michael Glassford (glassfordm_at_[hidden])
Date: 2003-12-12 17:13:26
That's something I haven't looked into, but I intend to at some point.
Mike
Bronek Kozicki wrote:
> Michael Glassford <glassfordm_at_[hidden]> wrote:
>> Bronek Kozicki wrote:
>>
>>> I guess that threads library is
>>> somewhere waiting for this thread to get started?
>>
>> Yes, it does. If you look in thread.cpp, you'll see that the last
>> line of
>> the thread constructor (not the default constructor but the one that
>> takes a threadfunc parameter) calls param.wait(), which waits until
>
> Naiive solution would be to change constructor to:
> thread::thread(const function0<void>& threadfunc, bool wait = true)
> but is it safe ?
>
>
> B.
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://listarchives.boost.org/mailman/listinfo.cgi/boost