http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51617
Bug #: 51617
Summary: [C++0x] async(f) isn't.
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 26132
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26132
demonstration
I am finding I have to explicitly pass a launch policy to get async to run
anything in a thread. For example, when I time the attached with
-DFORCE_PARALLEL I get
/tmp/tst 81.54s user 0.23s system 628% cpu 13.001 total
and without it I get:
/tmp/tst 41.29s user 0.05s system 99% cpu 41.343 total
See also bug 49204