From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2004-09-29 09:54:39


Peter Dimov wrote:
>
> Alexander Terekhov wrote:
> >
> > I mean that current expired() doesn't synchronize the local view
> > of counter and hence may never return true (absent some user's
> > synchronization).
>
> On which platform?

Ok. Insert "in theory". It's PDQ in practice (unless you have a
compiler smart enough to ignore volatile hack and use a cached
copy in spite of it because you're not supposed to noticed the
difference according to the MT memory model rules).

regards,
alexander.