#my crashing code import _crash #creates the channel import stackless def sleeper(): _crash.sleep() #sleeps on the channel t = stackless.tasklet(sleeper) t() t.run() _crash.finish() #releases the channel