[Stackless] Fwd: Getting started with Stackless, channel deadlock problem

Robert ensamgud at gmail.com
Sun Jun 12 17:26:07 CEST 2011


Nevermind, I just noticed I'm calling the actual function instead of adding
it.

I used

stackless.tasklet(function_name())

instead of

stackless.tasklet(function_name)

Thanks,

---------- Forwarded message ----------
From: Robert <ensamgud at gmail.com>
Date: 2011/6/12
Subject: Getting started with Stackless, channel deadlock problem
To: stackless at stackless.com


Hi, just getting started with Stackless. Tried running through some of the
example code, managed to get some tasklets up and running but hit a speed
bump with channels (http://www.stackless.com/wiki/Channels)

When defining a sender and a receiver tasklet, and running them, I get a
deadlock error:
RuntimeError: Deadlock: the last runnable tasklet cannot be blocked.

The documentation does not seem to be entirely up to date, using old style
print calls, or maybe I'm just doing something wrong.

I'm using Stackless 3.2

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stackless.com/pipermail/stackless/attachments/20110612/0dc3280e/attachment.html>


More information about the Stackless mailing list