|
Boost : |
From: Kevlin Henney (Kevlin.Henney_at_[hidden])
Date: 1999-07-25 05:48:22
Right now, you don't. We need a thread-safe version of shared_ptr.
A suitable approach might be to provide an additional template parameter
to shared_ptr which represents the counter type, defaulting to something
based on a standard integer but providing scope for providing an MT safe
version. For instance, such a counter could be based on the Interlocked*
functions for Win32.
Thoughts?
Kevlin
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk