Boost logo

Boost :

Subject: Re: [boost] [Boost.utility]
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-01-27 14:42:11


Andrew Chinkoff wrote:
>> 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 don't understand what you mean by "atomically."

> I mean "atomic" foo performance but not "mutex'ed".

I can't parse this sentence.

In Christ,
Steven Watanabe

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