summaryrefslogtreecommitdiff
path: root/libguile/dynl.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2011-03-24 20:20:14 +0100
committerAndy Wingo <wingo@pobox.com>2011-03-30 12:43:50 +0200
commite309f3bf9ee910c4772353ca3ff95f6f4ef466b5 (patch)
tree3ae369afe2f8806931b93391eed22e8e4a6b1a28 /libguile/dynl.c
parent653ccd78fa6770c692f5a737ad70de5aedbfcc7f (diff)
downloadguile-e309f3bf9ee910c4772353ca3ff95f6f4ef466b5.tar.gz
with-continuation-barrier calls exit(3) _after_ unwinding
* libguile/continuations.c (scm_handler, c_handler) (scm_c_with_continuation_barrier, scm_with_continuation_barrier): Instead of calling scm_handle_by_message_noexit in the pre-unwind handler, roll our own exception printing in the pre-unwind, and do to exit()-on-quit in the post-unwind handler. This lets the stack unwind at exit-time so that pending dynwinds run. * test-suite/tests/continuations.test ("continuations"): Add a test.
Diffstat (limited to 'libguile/dynl.c')
0 files changed, 0 insertions, 0 deletions