[Stackless] Killing a tasklet waiting on PyChannel_Receive in C module fails

Richard Tew richard.m.tew at gmail.com
Mon Feb 23 13:24:17 CET 2009


On Mon, Feb 23, 2009 at 4:24 AM, Chris Jacobson <mainecoon at gmail.com> wrote:
> If a tasklet that is currently in a C function waiting on a
> PyChannel_Receive is killed from another tasklet, the receiving
> tasklet resumes with NULL returned on the Receive, and doesn't die.

Generally, when an API function returns NULL, it indicates a Python
exception has happened.  Have you tried looking at what that exception
is?

Cheers,
Richard.




More information about the Stackless mailing list