Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-03-05 07:45:28


Johan Nilsson wrote:
> Hi,
>
> I don't know if this is a known bug or not:
>
> When using thread_specific_ptr's, if at any time later in the program
> the total tss data items drops to zero, it is no longer possible to
> use tss data.

How can this happen in real code? thread_specific_ptr instances should
always have static storage duration. The only legitimate situation appears
to be to load and then unload a DLL that uses thread_specific_ptr.


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