Re:Let's write a setjmp
by comex on Sunday February 12, 2023 @03:05PM
(#34766327)
In any case, you definitely can't do it on Windows and Emscripten (WebAssembly), where longjmp invokes the same stack unwinding behavior as C++ exception handling, rather than just setting some registers and jumping. Windows has its own APIs for tasklets (fibers); no such luck on Emscripten.
[ Parent
| on HN ]
There are no comments on this comment yet.