This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: C++0x, thread, promise and future
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Claudio La Rosa <clros at tiscali dot it>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Fri, 15 Jul 2011 22:53:35 +0100
- Subject: Re: C++0x, thread, promise and future
- References: <32069856.post@talk.nabble.com>
I tried to test your code, but its not a reproducable test case, it
has bits of text in the middle saying "I use this class in my main"
It would be easier if you post code that others can compile and run,
not snippets of code that don't form a complete program.
And as Paolo suggested, questions like this should go to the gcc-help
mailing list if you're just asking for help using the library.
At a guess, did you compile with -pthread to enable thread support?