Subj : gdb detach strange behaviour RHEL 3.0 To : comp.programming.threads From : pankajtakawale Date : Mon Jul 11 2005 09:19 am A thread in my process blocks (condWait) on a mutex indefinately because of bug. But When I attach this process (in blocked state) to gdb & detach it, blocked thread starts execution & exits successfully. What would be the reason for this abrupt behaviour? What does gdb detach do? which signals does it send? Note : If i dont attach blocked process to gdb, thread blocks on that mutex indefinately due to bug. .