Просмотр исходного кода

Renamed variables used in timeout code so I don't make
silly mistakes like using a negative time for the select
timeout.

Also added the setrlimit call back in since the
named_condition_test occassionally consumes multiple cpus
worth of time. That is, when I ran this test -j4, I found
the named_condition test consuming 4 cpus worth of time so
after 300 seconds of elapsed time when the test timed out,
it had consumed almost 1200 seconds worth of cpu. While the
test is killed after the elapsed time expired, setting a hard
cpu limit ensures it's killed after consuming either -lx seconds
worth of cpu or -lx seconds of elapsed time.



[SVN r39613]

K. Noel Belcourt 19 лет назад
Родитель
Сommit
dbb3a3e728
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      tools/build

+ 1 - 1
tools/build

@@ -1 +1 @@
-Subproject commit b9c16aaaaa62cb54363b607022aae172169634ab
+Subproject commit 870b60470ec6e3eff1df93df75dccebd9429964e

粤ICP备19079148号