[patch] libstdc++/56117 make std::async launch new threads by default
Jonathan Wakely
jwakely@redhat.com
Sat May 2 18:56:00 GMT 2015
One last patch before I head to Lenexa, this fixes the long standing
not-a-bug that our default launch policy is launch::deferred.
This way std::async with no explicit policy or with any policy that
contains launch::async will run in a new thread.
Apparently libc++ does the same and they aren't getting lots of
complaints about fork-bombs, so let's try the same thing. If people
don't like it we have plenty of time in stage 1 to reconsider.
Tested x86_64-linux and powerpc64le-linux, I'm going to commit this to
trunk unless someone strongly objects.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 885 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20150502/2cd8583f/attachment.bin>
More information about the Libstdc++
mailing list