#10818: EclLib should allow signals to make LISP code interruptable
------------------------------------------+---------------------------------
Reporter: nbruin | Owner: was
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.7
Component: interfaces | Keywords: lisp ecl signal
interrupt
Author: Nils Bruin, Jeroen Demeyer | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------------------------+---------------------------------
Comment(by jdemeyer):
Replying to [comment:18 nbruin]:
> * I'm a little puzzled that ecl_sig_off() is not a macro. Doesn't the
same argument apply there?
> (certainly if we apply Juanjo's suggestion it will have to be, because I
think there is a macro pair that involves straddling "{" and "}").
However, if the current code works that that is fine. We can always change
it later.
The main reason for ''not'' making it a macro is that there is currently
no reason why it should be a macro. Between macros and inline functions,
I much prefer inline functions. So I only use macros when they are really
needed.
Let me state again that I'm not against Juanjo's suggestion, it's just
that I don't really know how the ECL signal handling works. The code
which is currently on this ticket makes few assumptions on the inner
workings of the ECL signal handler. The more we start "interfering" with
the ECL signal handler, the more important it becomes to really understand
what is going on.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10818#comment:19>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.