|
|
|
|
|
by gpderetta
884 days ago
|
|
Longjmp in standard C, swapcontext in POSIX C. I think GCC allows gotos to the containing function from a local function (but I never used GCC local functions). Smalltalk, and I believe ruby, allow non local return from blocks. |
|
unwind-protect is a more general form of the c++ raii (in fact c++ got raii from Common Lisp).