M
Mike Amling
Is it possible to implement coroutines
(http://en.wikipedia.org/wiki/Coroutine) in a single Java Thread? I
couldn't think of any way to do it at the source code level. I'm not all
that familiar with bytecode, but there isn't, for instance, a way to get
the JVM to use a second calling stack, is there?
I can see plenty of ways to implement coroutines using more than one
Thread.
--Mike Amling
(http://en.wikipedia.org/wiki/Coroutine) in a single Java Thread? I
couldn't think of any way to do it at the source code level. I'm not all
that familiar with bytecode, but there isn't, for instance, a way to get
the JVM to use a second calling stack, is there?
I can see plenty of ways to implement coroutines using more than one
Thread.
--Mike Amling