[edit] Spawning new thread

I think it's wrong to say "async spawns a new thread" with std::launch::async. The specification doesn't mandate it:

"if policy & launch::async is non-zero — calls ... as if in a new thread of execution represented by a thread object with the calls to DECAY_COPY() being evaluated in the thread that called async."

Weasel words mean function may run on a thread pool.

-- 02:10, 29 May 2013 (PDT)

Good point, someone even implemented launch::async as a pool, as far as I remember. --Cubbi 05:59, 29 May 2013 (PDT)

[edit] It looks like std::async will be deprecated.

It looks like async is being deprecated according to this link. Maybe should mention it in the documentation.

Mikehcox (talk) 16:31, 17 October 2013 (PDT)

the link itself says it didn't pass. --Cubbi (talk) 16:40, 17 October 2013 (PDT)