#13908: Exit Sage gracefully upon SIGHUP/SIGTERM
-------------------------------+--------------------------------------------
Reporter: jdemeyer | Owner: jdemeyer
Type: enhancement | Status: new
Priority: major | Milestone: sage-5.6
Component: c_lib | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: #13748 | Stopgaps:
-------------------------------+--------------------------------------------
Description changed by jdemeyer:
Old description:
> Change the signal handling code to allow a graceful forced exit of Sage.
> "graceful" meaning that code is interrupted and the normal exit handlers
> are run. This graceful exit is not guaranteed to work, code which is not
> interruptible would not be exited.
>
> This might be used by the doctesting framework to handle timeouts.
>
> One could argue that we should also handle `SIGTERM` this way, but since
> the exit is not guaranteed, I prefer not to do this.
New description:
Change the signal handling code to allow a graceful forced exit of Sage.
"graceful" meaning that code is interrupted and the normal exit handlers
are run. This graceful exit is not guaranteed to work, code which is
currently not interruptible would not be exited.
This might be used by the doctesting framework to handle timeouts.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13908#comment:1>
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.