This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: std::async should work with 4.7.1, but it doesn't?
- From: Oliver Kullmann <O dot Kullmann at swansea dot ac dot uk>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Sun, 2 Jun 2013 23:27:24 +0100
- Subject: Re: std::async should work with 4.7.1, but it doesn't?
- References: <20130602180145 dot GA22284 at csltok dot swansea dot ac dot uk> <CAH6eHdRhG0d7eG=oYMZZ2BzF+dmbzDVrVZur7=ftrhHHXnk6iQ at mail dot gmail dot com>
> You need to compile and link using -pthread to make use of multithreading.
aha -- thanks!
Oliver