This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: Thread deadlock problem with cout
- To: Craig Rodrigues <rodrigc at mediaone dot net>
- Subject: Re: Thread deadlock problem with cout
- From: brent verner <brent at rcfile dot org>
- Date: Fri, 21 Jul 2000 00:47:52 -0400
- Cc: stdc++ <libstdc++ at sourceware dot cygnus dot com>
- References: <20000720221132.A3968@mediaone.net>
On 20 Jul 2000 at 22:11 (-0400), Craig Rodrigues wrote:
| Hi,
|
| I downloaded the latest snapshots of libstdc++ from rawhide.redhat.com.
|
| Now, if I compile the attached program, it seems to deadlock on the
| cout. If I change the cout statement to a printf, it does not
| deadlock, so I am assuming some threading problems in libstdc++.
not a (threading) problem here. the test program compiled and ran fine...
_after_ I added 'using namespace std;' to it.
can you see what flags were specified when the rpm's binary was
compiled? IIRC, I had this problem unless gcc was configured with
--enable-threads=posix
glibc-2.1.3
gcc (cvs 20000619)
libstdc++-v3 (cvs 20000720)
hth.
Brent
--
Damon Brent Verner o _ _ _
Cracker Jack? Surprise Certified _o /\_ _ \\o (_)\__/o (_)
brent@rcfile.org _< \_ _>(_) (_)/<_ \_| \ _|/' \/
brent@linux1.org (_)>(_) (_) (_) (_) (_)' _\o_