[Stackless] Thread Migration
richard.m.tew at gmail.com
Fri Apr 25 01:54:16 CEST 2008
On Thu, Apr 24, 2008 at 6:33 PM, Justin Tulloss <jmtulloss at gmail.com> wrote:
> Is there any way to move a tasklet from the thread that it's currently
> running in to a different thread, short of reconstructing the tasklet
> in the new thread?
Given that reconstruction includes pickling and unpickling, no.
Stackless is not actually stackless. Tasklets will be using memory
from the stack space of the thread they are created on.
Reconstruction, preferably via pickling, is the only option.
More information about the Stackless