Re: Deadlock detection

2004-12-10 Thread Mike Meyer
mutexes so they can be tested for deadlocks. I've googled around but I >> haven't found anything. > > In general, accurate deadlock detection is intractable. Like many > problems of this class you have two choices - either reduce the scope of > the problem to a non-gene

Re: Deadlock detection

2004-12-10 Thread Adam DePrince
> haven't found anything. In general, accurate deadlock detection is intractable. Like many problems of this class you have two choices - either reduce the scope of the problem to a non-general one or try a heuristic to guess. As I recall, deadlock prevention is similar to the halti

Re: Deadlock detection

2004-12-07 Thread Stephen Kellett
In message <[EMAIL PROTECTED]>, Duncan Grisby <[EMAIL PROTECTED]> writes understood, and there are plenty of systems that do it. I just haven't been able to find one for Python. There is one at http://www.softwareverify.com as I mentioned in a previous posting. Stephen -- Stephen Kellett Object

Re: Deadlock detection

2004-12-07 Thread Duncan Grisby
In article <[EMAIL PROTECTED]>, Josiah Carlson <[EMAIL PROTECTED]> wrote: > >Duncan Grisby <[EMAIL PROTECTED]> wrote: >> Does anyone know of a deadlock detector for Python? I don't think it >> would be too hard to hook into the threading module and instrument >> mutexes so they can be tested for

Re: Deadlock detection

2004-12-06 Thread Paul Du Bois
(warning: pedantic and off-topic response) NP-Complete does not mean "equivalent to the halting problem." It means "poly-time equivalent to any other NP-Complete problem". NP-Complete problems are "only" exponential-time. The halting problem is much harder! And of course, just the fact that a prob

Re: Deadlock detection

2004-12-06 Thread Josiah Carlson
Duncan Grisby <[EMAIL PROTECTED]> wrote: > > Hi, > > Does anyone know of a deadlock detector for Python? I don't think it > would be too hard to hook into the threading module and instrument > mutexes so they can be tested for deadlocks. I've googled around but I > haven't found anything. I'm

Re: Deadlock detection

2004-12-06 Thread Stephen Kellett
>Does anyone know of a deadlock detector for Python? I don't think it >would be too hard to hook into the threading module and instrument >mutexes so they can be tested for deadlocks. I've googled around but I >haven't found anything. Software Verification have Python Thread Validator. Its not pu

Deadlock detection

2004-12-06 Thread Duncan Grisby
Hi, Does anyone know of a deadlock detector for Python? I don't think it would be too hard to hook into the threading module and instrument mutexes so they can be tested for deadlocks. I've googled around but I haven't found anything. Cheers, Duncan. -- -- Duncan Grisby -- -- [EMAI