How to determine the thread holding a mutex?
xxhdx1985126 <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, everyone. I'm trying to debug a problem that appears to be a deadlock. I wonder if I can use gdb to find out which thread is holding a mutex. If so, my work would be much easier, as there are many threads in my program. Please help me, Thank you:-)