slavapestov/factor — Issue #308: Handle signals immediately when in foreign code
Author: jckarter
Created: 2011-10-29 05:09:04+00:00
State: open
Labels: signals, vm

If we're currently executing an FFI call, then we don't need to worry about safepoints and can enter the low-level debugger immediately on SIGINT. However, to do this we would need yet another signal handler trampoline for C code that respects the red zone and other aspects of the platform ABI. With this fix we should also keep track of "safe to continue" and "safe to throw error" flags to display in the debugger help, since it would be safe to continue from a foreign call but not to throw an exception.