int3/doppio — pull request #119 by perimosocordiae (2012-12-07 08:23:23+00:00)
Title: Control flow rewrite

A complete revamp of the control flow in Doppio. See issue #109 for rationale.

Basically, we're trading `resuming_stack` and recursive callback hell for re-entrant methods. This simplifies thread-switching immensely, though it complicates calling other functions from natives.

There are some warts, but it works. I think it's already better than what we had, though. We can probably polish it up to look better, too.