$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-08-29 04:32:21
From: "William Kempf" <williamkempf_at_[hidden]>
> From: "Peter Dimov" <pdimov_at_[hidden]>
> >5. current() cannot be used to adopts threads.
>
> Which is simply something that users won't accept.
What do you base this statement on?
What can users do with an adopted thread?
A related question:
How can I make use of thread_specific_ptr within a thread that I didn't
create? (Adopted or Boost.Threads created.)
If I understand the semantics of thread_specific_ptr correctly, the storage
is never deallocated; and I can't deallocate it explicitly because I can't
install a cleanup handler.
-- Peter Dimov Multi Media Ltd.