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 <[email protected]>
Date: 2011/6/12
Subject: Getting started with Stackless, channel deadlock problem
To: [email protected]


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
_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless

Reply via email to