#10258: Block interrupts during malloc
------------------------------+---------------------------------------------
   Reporter:  jdemeyer        |       Owner:  jdemeyer          
       Type:  enhancement     |      Status:  positive_review   
   Priority:  major           |   Milestone:  sage-4.6.2        
  Component:  c_lib           |    Keywords:  malloc sage_malloc
     Author:  Jeroen Demeyer  |    Upstream:  N/A               
   Reviewer:  Volker Braun    |      Merged:                    
Work_issues:                  |  
------------------------------+---------------------------------------------

Comment(by jdemeyer):

 Replying to [comment:5 vbraun]:
 > Nice!
 >
 > There are some examples in the documentation that use malloc, for
 example `doc/en/numerical_sage/ctypes_examples.rst`. We should convert
 these to `sage_malloc` as well, probably in #10109.

 You are right that some documentation uses `malloc`.  But that seems to be
 pure C code.  So changing `malloc` to `sage_malloc` would imply linking
 against `-Lcsage` and possibly adding some `sig_on()`/`sig_off()`
 machinery and possibly more complications...

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10258#comment:6>
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