MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Interrupt Service Routines in Mathematica v.5.2?

Hi all,

Is it possible to create an interrupt service routine in Mathematica v.
5.2?  While running a long calculation, I want to define some other
code that can be triggered by some event external to the calculation.
On completion of the interrupt service routine, the main calculation
should automatically resume with little or no knowledge that the
interrupt ever occurred.

The first place I would like to use this would be to monitor a long,
complicated calculation in a loop.  Each iteration through the loop
may be too slow (or too fast) for me to simply display diagnostic
information once per iteration.  I would rather display the
information every x-seconds, or when the user presses a button.

Any suggestions or comments would be appreciated.


  • Prev by Date: Sort with -Infinity fails
  • Next by Date: NIntegrate - Gaussian quadrature more exact than thought
  • Previous by thread: Re: Sort with -Infinity fails
  • Next by thread: Interrupt Service Routines in Mathematica v.5.2?