You can use longjmp only to unwind the stack. I believe that to jump the in
the other direction is undefined behavior, and we don't support it - a very
different model would be needed for that.

- Alon



On Tue, Jun 10, 2014 at 8:07 AM, Stanislav Tsukrov <[email protected]>
wrote:

> Is there a way to jump with longjmp to a setjmp-point outside of the
> current stack?
>
> As far I can see longjmp is implemented with exceptions, so the jump-point
> must be upwards on the current stack.
> Any way to jump "down"?
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to