public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
* R7RS 'emergency-exit' added and 'exit' modified.
@ 2014-02-18  2:37 Per Bothner
  0 siblings, 0 replies; only message in thread
From: Per Bothner @ 2014-02-18  2:37 UTC (permalink / raw)
  To: kawa

I changed the 'exit' procedure so it calls finally blocks (as
in try-finally'), including dynamic-wind "after" handlers.
It does this by throwing an ExitCalled exception, but only
when ExitCalled.push/pop "nesting" is non-zero.

I also added emergency-exit, which just calls Runtime.halt,
thus not hannling finally blocks or JVM shutdown hooks.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-02-18  2:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-18  2:37 R7RS 'emergency-exit' added and 'exit' modified Per Bothner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).