Patch to allow more granular aborting.

Theo Schlossnagle jesus at omniti.com
Sun Mar 13 18:08:08 CET 2011


Currently, libgmp treats out-of-memory and FPE errors as the same type
of abort as consistency issues.  This makes it hard to integrate into
long running processes where you want to catch and react to these
errors.

The following patch is against tip and provides a replaceable abort
function specifically for the OOM and FPE cases.

changeset:   14053:5f8173737e3c
tag:         tip
user:        Theo Schlossnagle <jesus at omniti.com>
date:        Sun Mar 13 12:38:10 2011 -0400
summary:     Support replacement abort for OOM and FPE conditions


-- 
Theo Schlossnagle

http://omniti.com/is/theo-schlossnagle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oom-fpe-niceabort.diff
Type: application/octet-stream
Size: 3556 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-devel/attachments/20110313/752c7ee6/attachment.obj>


More information about the gmp-devel mailing list