$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-04-07 07:09:33
Felipe Magno de Almeida wrote:
> It seems to me that thread_specific_ptr has a broken
> interface and documentation, since it doesnt address the local static
> thread-safety issue. Which leads users to use it erroneously.
Whether local statics are thread-safe is implementation dependent, and is
not limited to thread_specific_ptr. _Any_ dynamically initialized local
static can lead to the failure you described.