This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: Thread deadlock problem with cout
On Fri, Jul 21, 2000 at 12:47:52AM -0400, brent verner wrote:
> 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.
I added 'using namespace std;' and my test program still deadlocks.
I'm not sure how the glibc rpm was compiled, but I will check.
--
Craig Rodrigues
http://www.gis.net/~craigr
rodrigc@mediaone.net