ffi: Avoid longjmps in C-CALL primitive (callout_continue).
authorMatt Birkholz <matt@birkholz.chandler.az.us>
Tue, 26 Nov 2013 17:07:29 +0000 (10:07 -0700)
committerMatt Birkholz <matt@birkholz.chandler.az.us>
Tue, 26 Nov 2013 17:07:29 +0000 (10:07 -0700)
commit2a50833adf2a5046a90027d173079001fe989549
treed5cb7dd2443a6582f702aba0f5710577e1775436
parentf401dbba8ca0abb1e448a9b239a9e9e150ced90d
ffi: Avoid longjmps in C-CALL primitive (callout_continue).

Rather than abort after every callout (in callout_continue), call the
second trampoline directly, after unsealing the Scheme stack.
src/ffi/generator.scm
src/microcode/pruxffi.c
src/microcode/pruxffi.h