$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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.