Re: How to halt a running program without losing data?



robin wrote:

PL/I provides the ability to do this.
You can interrupt a program at any time, and can then do anything you
want, including printing the values of variables (useful if you want
to inspect the salient value of some iterative process to see whether
it is converging, etc), or reading in the values of any variables, etc.
You write what you want to do in an ON-unit (effectively
a procedure) that is entered when you interrupt from the keyboard.



Gee, now if we could actually find a PL/1 compiler ...

.



Relevant Pages

  • Re: Cannot print
    ... > I've just installed apsfilter on the latest FreeBSD 5.3 to print with my ... Is your printer connected via the parallel port? ... line reading "Interrupt storm detected on "irq7: ... Try printing a file from your own home directory. ...
    (freebsd-questions)
  • Re: All possible letter combinations?
    ... ...If just printing you could just use "p group.join", ... join or "\n" basically halts my machine (10 seconds to recognize the ... ctrl-c interrupt). ...
    (comp.lang.ruby)
  • Re: getting timestamp of last interrupt?
    ... Jiffies are totally ... > keyboard interrupt occurs. ... You allocate a buffer of this type and, during each interrupt, ... by pointer. ...
    (Linux-Kernel)
  • Re: USB device just moves
    ... USB must be polled at regular intervals,... ... Interrupt and isochronous pipes must be polled at regular intervals. ... received then an SMI handler is invoked, ... The usb keyboard is the worst offender with a transaction going something like ...
    (comp.os.linux.development.system)
  • Re: How handle interrupt notification in a windows ce application
    ... Polling for the keyboard slide will reduce your battery life. ... I've developed a little application that wakes up my pda (change power ... that an external interrupt signal should be raised when keyboard has ... So i don't have to really wake up my pda, but just change power state ...
    (microsoft.public.windowsce.app.development)