1. 24 8月, 2006 6 次提交
  2. 23 8月, 2006 2 次提交
  3. 22 8月, 2006 8 次提交
  4. 21 8月, 2006 1 次提交
  5. 18 8月, 2006 2 次提交
  6. 17 8月, 2006 8 次提交
  7. 16 8月, 2006 12 次提交
  8. 15 8月, 2006 1 次提交
    • J
      avoid nanosleep(2) · 789a09b4
      Junio C Hamano 提交于
      On Solaris nanosleep(2) is not available in libc; you need to
      link with -lrt to get it.
      
      The purpose of the loop is to wait until the next filesystem
      timestamp granularity, and the code uses subsecond sleep in the
      hope that it can shorten the delay to 0.5 seconds on average
      instead of a full second.  It is probably not worth depending on
      an extra library for this.
      
      We might want to yank out the whole "racy-git avoidance is
      costly later at runtime, so let's delay writing the index out"
      codepath later, but that is a separate issue and needs some
      testing on large trees to figure it out.  After playing with the
      kernel tree, I have a feeling that the whole thing may not be
      worth it.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      789a09b4