[Stackless] need help on debugging a deadlock

Richard Tew richard.m.tew at gmail.com
Fri Jan 9 17:34:39 CET 2009


On Fri, Jan 9, 2009 at 10:50 AM, Paul Sijben <sijben at eemvalley.com> wrote:
> I am creating a deadlock somewhere.
>
> Is there a way to ensure that a tasklet does not receive more than a
> certain number of milliseconds and is then stopped with some message on
> the console so I can see which one it was?

Wrap channel to optionally register with a monitoring thread and have
that thread remove tasklets waiting on it and raise an exception/print
a traceback for them, if they wait for more than a certain amount of
time?

> Or are there even better ways to find out what is going on?

The term deadlock is too vague to contemplate this further.

Cheers,
Richard.




More information about the Stackless mailing list