This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: A deadlock in linuxthreads.
- To: Xavier.Leroy@inria.fr (Xavier Leroy)
- Subject: Re: A deadlock in linuxthreads.
- From: hjl@lucon.org (H.J. Lu)
- Date: Sun, 20 Dec 1998 21:03:54 -0800 (PST)
- Cc: libc-hacker@cygnus.com (GNU C Library)
> The problem is that the gdb interface uses a __pthread_sig_cancel sent
> to the thread manager as an indication that a new thread is created.
> (See the processing of REQ_DEBUG.) I really don't know what happens
> if we send a __pthread_sig_cancel also when a thread dies. Have you
> looked at the OpenGroup patches to gdb? Not being too familiar with
> gdb myself, I don't fully understand what's going on.
>
Can we use another signal for gdb to indicate a new thread is created?
We have RT signal in linux 2.1. It should work. We can fall back to
__pthread_sig_cancel if RT signal is not available.
H.J.