3 ms·
How would you do that? longjmp let's you jump back to the parent coroutine but after that you cannot jump back to the child to continue where it left off.
by ufo 8y ago
How would you do that? longjmp let's you jump back to the parent coroutine but after that you cannot jump back to the child to continue where it left off.
- cryptonector 8y agoBy using different stacks for each coroutine. But it's still not trivial.