#14292: Race conditions in doctester
-------------------------------------+--------------------------------------
       Reporter:  jdemeyer           |         Owner:  roed      
           Type:  defect             |        Status:  needs_work
       Priority:  blocker            |     Milestone:  sage-5.9  
      Component:  doctest framework  |    Resolution:            
       Keywords:                     |   Work issues:            
Report Upstream:  N/A                |     Reviewers:            
        Authors:  Jeroen Demeyer     |     Merged in:            
   Dependencies:                     |      Stopgaps:            
-------------------------------------+--------------------------------------

Comment (by vbraun):

 Its good to have a general solution to this recurring problem. But writing
 via a temporary file is an ugly workaround for file locking, which is what
 we really want to do. It is also likely to hide race conditions. Also, on
 Win32 (and possibly other non-posix platforms) there is no atomic replace.
 File locking is also useful as a simple synchronization tool for clusters
 with a shared file system.

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