From: Dejan Jelovic (djelovic_at_[hidden])
Date: 2001-01-07 13:02:58
I have written a set of smart pointer classes that improve on the ones
provided by boost:
Now I would like to make these classes portable across environments. To do
that I need a semi-portable way to increment and decrement reference counts
in a thread-safe manner.
Under Windows I use InterlockedIncrement and InterlockedDecrement. But I see
that boost uses simple ++ and -- even under Windows. Is that thread-safe
with the supported Windows compilers?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk