This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: gdb and linuxthreads (A deadlock in linuxthreads.)
- To: drepper@cygnus.com
- Subject: Re: gdb and linuxthreads (A deadlock in linuxthreads.)
- From: hjl@lucon.org (H.J. Lu)
- Date: Mon, 21 Dec 1998 10:53:48 -0800 (PST)
- Cc: Xavier.Leroy@inria.fr, libc-hacker@cygnus.com (GNU C Library)
>
> Xavier Leroy <Xavier.Leroy@inria.fr> writes:
>
> > Hmph. That's interesting. I'll try to think of a scenario that
> > explains this. Sometimes, I fear the memory subsystem doesn't
> > implement strong ordering on memory accesses like it's supposed to do
> > according to the docs...
>
> Xavier,
>
> Your patch makes things much worse for me. Now even ex2 and ex3 hand
> frequently. With the code currently in the CVS archive I haven't seen
> any hangs (though I haven't run ex6 very often). With your changes
> ex2, ex3, and ex6 hang almost always.
>
There is a bug in the patch. A return is missing. Please read
my and Xavier's emails on it.
H.J.