http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51618

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-12-19 
11:51:52 UTC ---
Could you expand on what you mean by "no attached synchronization"?

If a global future visible to all threads stores a deferred function then it
still needs synchronization to ensure only one thread can invoke the deferred
function and that other threads will wait for it to complete.

std::async is not meant to be the fastest or most flexible solution, it's meant
to be a simple way to exploit a limited amount of concurrency, without breaking
the Kona compromise.  Better solutions are suitable for TR2.

Reply via email to