A deadlock in linuxthreads.
H.J. Lu
hjl@lucon.org
Sun Dec 20 21:04:00 GMT 1998
> 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.
More information about the Libc-hacker
mailing list