#13908: Exit Sage gracefully upon SIGHUP
---------------------------+------------------------------------------------
   Reporter:  jdemeyer     |             Owner:  jdemeyer
       Type:  enhancement  |            Status:  new     
   Priority:  major        |         Milestone:  sage-5.6
  Component:  c_lib        |          Keywords:          
Work issues:               |   Report Upstream:  N/A     
  Reviewers:               |           Authors:          
  Merged in:               |      Dependencies:  #13748  
   Stopgaps:               |  
---------------------------+------------------------------------------------
 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.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13908>
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.

Reply via email to