[Stackless] slp_kill_tasks_with_stacks is broken
richard.m.tew at gmail.com
Mon Oct 3 11:51:32 CEST 2011
2011/9/23 Kristján Valur Jónsson <kristjan at ccpgames.com>:
> I've spent more thought on this.
> The end_tasklet() game is played because we create many temporary main tasklets when we enter python through the C api.
> This mechanism needs to be refined a bit when it comes to the main tasklet, for example, system exit exceptions should be propagated outwards on the main tasklet.
> For the tstate cleanup, it appears that a new temporary main tasklet needs to be created for things to work.
> I'll work some on getting these things shored up in the next days.
You might want to keep on shoring ;-) test_threading locks up, likely
in an infinite loop. I'm seeing this in the latest from SVN and the
identical code what is in the coming Stackless HG repo.
More information about the Stackless