From: Miki Jovanovic (miki_at_[hidden])
Date: 2000-05-31 13:14:37


--- In boost_at_[hidden], "Greg Colvin" <gcolvin_at_u...> wrote:
> That is a very good start, but for efficient reference
> counting you need an atomic decrement-and-test.

What I think Dietmar had in mind was that the mutex is the bare
minimum. Even if the OS does not support atomic inc/decrement, you
can implement it using mutex. But on platforms that support more
varied MT functionality, the more efficient one can and should be
used.

Cheers,

Miki.