Re: Things to hack on?
Tom Lord <lord-1tv/[email protected]> Mon, 2 Feb 2004 16:24:46 -0800 (PST)
| Newsgroups | gmane.lisp.scheme.pika.devel |
|---|---|
| Message-ID | <[email protected]> |
> From: Andreas Rottmann <[email protected]>
> > The code in there that does interrupt polling can just be #if 0'ed
> > out for now (and add a #undef FIXME there too -- to make it easier
> > to grep for).
> Done. Just out of curiosity: what are "interrupts" for? (haven't found
> anything explanatory with a quick grep)
Procedures such as `list-length', which can run for a long time, have
to be safely interruptable (e.g., to handle ^G in emacs).
Also, sometimes it's desirable to let other Scheme code run
asynchronously, even while a long-running procedure is continuing.
Pika will use "interrupt polling" to handle cases like that.
-t