$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2004-09-25 07:07:20
John Torjo wrote:
[...]
> // here - you need InterlockedCompareExchange
> // to realize that refcount is 0 (zero)
> shared_ptr<test> p3 = weak.lock();
lock() calls InterlockedCompareExchange (too bad it's fully fenced)
if refcount isn't 0. Again, it can't see "false" zero.
regards,
alexander.