Subject: Re: closing files by gc From: Erik Naggum <erik@naggum.no> Date: 14 Jan 2003 19:24:58 +0000 Newsgroups: comp.lang.lisp Message-ID: <3251561098248330@naggum.no> * Joe Marshall | Let me clarify that, though. The cleanup forms do not necessarily | need to run in a `without-interrupts' context. The ideal case would | be that multitasking continues as usual, but asynchronous interrupts | to the particular stack group (thread) that is cleaning up would be | deferred until the cleanup is complete. I'm making the assumption | that as the author of the cleanup code, I can ensure that it is | error-free and completes in a timely manner. Some of this discussion appears to exhibit some assumptions about what kind of code should be permissible in the cleanup forms of an `unwind-protect´ form, from the implication that not everything would be equally acceptable. Perhaps they should be made explicit? -- Erik Naggum, Oslo, Norway Act from reason, and failure makes you rethink and study harder. Act from faith, and failure makes you blame someone and push harder.