$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-01-07 13:08:17
From: "adam_winkler" <adam_winkler_at_[hidden]>
> Hi there,
>
> I have recently begun using boost and I really like what I have seen
> so far (memory pools, smart pointers and some mutex/thread stuff)!
>
> I'd just like to request a thread-safe shared pointer class. Unlike
> many other smart pointers, it seems to me that shared pointers are,
> by their very (shared) nature, likely to need thread-safety. For
> instance, I have never needed a thread-safe auto_ptr, since I tend to
> use auto_ptr for things that have a single owner. However, in my
> application, I share objects between different threads and, thus, I
> need the threadsafety...
What do you mean by "thread safe shared pointer class"? (Different people
have different expectations about the level of thread safety.)
You might want to take a look at
http://groups.yahoo.com/group/boost/files/smart_ptr_2.zip
-- Peter Dimov Multi Media Ltd.