This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51617] New: [C++0x] async(f) isn't.
- From: "dave at boostpro dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Dec 2011 05:02:13 +0000
- Subject: [Bug c++/51617] New: [C++0x] async(f) isn't.
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: dave@boostpro.com
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