Interruptible calculations

Vincent Lefevre vincent at
Wed Apr 15 15:16:41 CEST 2009

On 2009-04-15 18:06:07 +0800, Jafet wrote:
> I suppose I will just spawn a subprocess and kill it. However it would
> be nice to know the workable alternatives, if any.

I wonder if trapping the signal and using longjmp could be done.
But warning:

Vincent Lefèvre <vincent at> - Web: <>
100% accessible validated (X)HTML - Blog: <>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)

More information about the gmp-discuss mailing list