Boost logo

Boost :

Subject: Re: [boost] [Boost.utility]
From: Andrew Chinkoff (achinkoff_at_[hidden])
Date: 2010-01-27 14:28:41

> When call_once returns it is guaranteed that foo has
> run to completion exactly once. If two thread run it
> in parallel one of them will block while the other runs
> foo.

Ok, I ask again specifically:

Does boost::once ensure that called function will be performed "atomically"
rather than "mutually excluded"?
I mean "atomic" foo performance but not "mutex'ed".


View this message in context:
Sent from the Boost - Dev mailing list archive at

Boost list run by bdawes at, gregod at, cpdaniel at, john at