This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A deadlock in linuxthreads.


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]