Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-08-29 13:42:53


From: "William Kempf" <williamkempf_at_[hidden]>
> >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.
>
> You understand incorrectly ;). The storage for the threads are cleaned up
> when the thread is destroyed through an implementation registered "cleanup
> handler".

I don't see this in thread_specific_ptr.html.

--
Peter Dimov
Multi Media Ltd.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk