#9946: Parallel build of Singular 3-1-1-4-package fails in other cases
------------------------+---------------------------------------------------
   Reporter:  mpatel    |       Owner:  tbd         
       Type:  defect    |      Status:  needs_review
   Priority:  blocker   |   Milestone:  sage-4.6    
  Component:  packages  |    Keywords:              
     Author:            |    Upstream:  N/A         
   Reviewer:            |      Merged:              
Work_issues:            |  
------------------------+---------------------------------------------------

Comment(by leif):

 Dave, if you don't want to mess around with {{{/dev/urandom}}} (and
 {{{hd}}}?), you could use the pid of a subshell ({{{rand_raw=`sh -c 'echo
 $$'`}}}) as the source for a pseudo random number (perhaps "recursively",
 i.e. the pid of the nth subshell where n is itself a pseudo-random
 number), and feed that to
 {{{
 #!sh
 sleep `expr $base + $rand_raw % $modulus \* $scale`
 }}}

 Plain {{{rand_raw}}} is of course bad on an otherwise idle system, also
 depending on how long you sleep.

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