Boost logo

Boost :

From: Andrew J Bromage (ajb_at_[hidden])
Date: 2002-08-10 22:26:47


G'day all.

On Fri, Aug 09, 2002 at 08:39:15AM -0500, William E. Kempf wrote:

> No, the calling thread must always block *while the once routine is
> running*. The DCL pattern does insure this by locking a mutex when the flag
> is found to be unset. Where it fails is when the flag is set, but other
> memory modified in the once routine has not yet been made visible to the
> calling thread.

Uhm... yes. That's what I meant, and I think it's also what you meant
the first time, so I think we put this one down to misunderstanding.

Cheers,
Andrew Bromage


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk