On 2009-03-15 at 19:04:05 [+0100], Jonas Sundström <jonas@xxxxxxxxxxx> wrote: > Ingo Weinhold <ingo_weinhold@xxxxxx> wrote: > ... > > Pretty much the only way to find out, is to check > > the stack traces of all waiting threads > > Would it be possible to have a deadlocks command in > KDL, comparing the threads currently holding locks > with threads waiting on locks? Well, as in this case it is not always known which thread is holding a lock. If it were, analyzing the lock manually wouldn't be hard either -- you'd just have to follow the lock owners until detecting a cycle. CU, Ingo