#14636: ECL spkg : dirty workarounds?
--------------------------------------+-------------------------------------
       Reporter:  Snark               |         Owner:  jdemeyer               
           Type:  defect              |        Status:  needs_work             
       Priority:  major               |     Milestone:  sage-pending           
      Component:  packages: standard  |    Resolution:                         
       Keywords:                      |   Work issues:  rebase, SIGCHLD doctest
Report Upstream:  N/A                 |     Reviewers:                         
        Authors:  Julien Puydt        |     Merged in:                         
   Dependencies:  #11359              |      Stopgaps:                         
--------------------------------------+-------------------------------------

Comment (by nbruin):

 Replying to [comment:30 Snark]:
 > I'm working on a better set of modifications to also get rid of the
 disabled threading stuff.
 It's great if you can get that to work.

 I considered enabling threading in ECL as fundamentally incompatible with
 the way we use it in Sage. It will cause ECL to split off a dedicated
 thread to handle asynchronous events and it will cause Boehm to repurpose
 some exotic signals to synchronize thread on garbage collection, and those
 signals will confuse the sage signal handler if it happens to receive
 them.

 We are switching signal handlers upon entry/exit of ECL. With multiple
 threads it is not clear anymore whether sage or ECL should be in control
 of asynch signals at any one time.

 We won't get much benefit from the change either: our main use, Maxima,
 uses global data structures everywhere and wasn't built with multi-
 processing in mind at all. It will not be able to utilize multiple threads
 for a long time.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14636#comment:31>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to