Revision: 41465
http://brlcad.svn.sourceforge.net/brlcad/?rev=41465&view=rev
Author: brlcad
Date: 2010-11-25 05:37:48 +0000 (Thu, 25 Nov 2010)
Log Message:
-----------
no longer need the start and stop timers since our method required inlining the
timer and killing in the parent. forgot to mention that r41464 MAXTIME limit
was bumped back up to 5min since orphaned sleep processes no longer accumulate.
Modified Paths:
--------------
brlcad/trunk/sh/conversion.sh
Modified: brlcad/trunk/sh/conversion.sh
===================================================================
--- brlcad/trunk/sh/conversion.sh 2010-11-25 05:30:10 UTC (rev 41464)
+++ brlcad/trunk/sh/conversion.sh 2010-11-25 05:37:48 UTC (rev 41465)
@@ -320,39 +320,6 @@
fi
-###
-# start a process clock
-###
-start_timer ( ) {
- if test $# -ne 5 ; then
- echo "INTERNAL ERROR: incorrect arugments to start_timer [$# != 5]"
- exit
- fi
-
- sleep $MAXTIME && test "x`ps auxwww | grep "$3" | grep facetize | grep
"${4}.${1}" | awk '{print $2}'`" != "x" && $ECHO "\t$2 conversion time limit
exceeded: $5" && kill -9 `ps auxwww | grep "$3" | grep facetize | grep
"${4}.${1}" | awk '{print $2}'`
-}
-
-
-###
-# stop the clock by killing the sleep process
-###
-stop_timer ( ) {
-
- if test $# -lt 1 ; then
- return
- fi
-
- for ppid in $* ; do
- for pid in `ps xj | grep $ppid | grep sleep | grep -v grep | awk
'{print $2}'` ; do
- # must kill sleep children first or they can continue running
orphaned
- kill $pid >/dev/null 2>&1
- done
- kill $ppid >/dev/null 2>&1
- done
- wait >/dev/null 2>&1
-}
-
-
################
# start output #
################
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits