Mustafa Mohamad <mu...@outlook.com> writes: > Currently GMP aborts which sends SIGBART and forcibly aborts Julia or any > linked program. With the above patch, GMP will instead throw a > __GMP_ALLOC_OVERFLOW_FUNC > Instead of forcibly aborting
Hi, I understand aborting may be undesirable, but can you provide a bit more context. How do you handle the callback on overflow? If you longjmp out, how do you arrange so that your mpz variables are in a consistent state? Regards, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677. Internet email is subject to wholesale government surveillance. _______________________________________________ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs