$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Andrei Alexandrescu (See Website For Email) (SeeWebsiteForEmail_at_[hidden])
Date: 2005-05-16 13:57:49
Gennadiy Rozental wrote:
>>>Author does admit that multithreading issues were not considered. IMO any
>>>singleton design that doesn't cover MT couldn't be accepted as generic.
>>
>>Not every library in Boost is MT safe even when it could be useful.
>>MT was left into next stage.
>
> You could not leave MT for the next stage of singleton design. Singletons
> have a long history dealing with MT issues topped with DL idiom.
I agree with Gennadiy (in case he's right; I haven't looked at the
implementation). A Singleton without careful design for MT is IMHO
unacceptable, no matter how carefully designed it is in any other
dimension. Singleton is a shared object, and it must address MT issues
first and foremost.
Andrei