emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using the GNU GMP Library for Bignums in Emacs


From: Eli Zaretskii
Subject: Re: Using the GNU GMP Library for Bignums in Emacs
Date: Sun, 22 Apr 2018 05:43:37 +0300

> From: Richard Stallman <address@hidden>
> Date: Sat, 21 Apr 2018 18:42:52 -0400
> Cc: address@hidden, address@hidden
> 
> The only things that might interrupt Lisp code are signals.
> If C-g is detected by a signal, it can interrupt almost anything in C,
> including computation in a GMP function,

We've changed how signals are processed in Emacs several years ago.
Nowadays, a signal handler just sets a flag, and the Lisp interpreter
tests that flag "when appropriate" (normally, as part of maybe_quit).

This change was done to avoid non-trivial processing inside signal
handlers.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]