pika-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pika-dev] Things to hack on?


From: Tom Lord
Subject: Re: [Pika-dev] Things to hack on?
Date: Mon, 2 Feb 2004 16:24:46 -0800 (PST)

    > From: Andreas Rottmann <address@hidden>

    > > 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]