From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2004-01-01 22:58:00
"Dan W." <danw_at_[hidden]> wrote
> > AFAIK shared_ptr<> uses interlocked_exchange() for Win32, mutex
> > The shared_ptr documentation contains performance benchmarks.
> Yes, I'm looking at it. I might have to code my own, stripped down,
> non-thread-safe version of shared_ptr for double_buffer's use, as the
> intended use is between two threads, and the shared_ptr's used on each
> side are independent of each other, so that thread safety isn't needed.
would get rid shared_ptr<> of its thread capabilities (should be more finer
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk