summaryrefslogtreecommitdiffstats
path: root/rteval
diff options
context:
space:
mode:
authorLuis Claudio R. Goncalves <lgoncalv@redhat.com>2010-05-13 15:03:44 +0200
committerDavid Sommerseth <davids@redhat.com>2010-05-13 15:03:44 +0200
commit46388c594de5d1077c99032363e41218db495758 (patch)
tree9bc3f90efc4639301f6090f1741ec38db223d441 /rteval
parent3f2ed6dc26f2c8eefb0ff2f6a834758ac5ec04d5 (diff)
downloadrteval-46388c594de5d1077c99032363e41218db495758.tar.gz
rteval-46388c594de5d1077c99032363e41218db495758.tar.xz
rteval-46388c594de5d1077c99032363e41218db495758.zip
rteval: remove unnecessary wait() call
As cyclictest handles SIGTERM and SIGINT, after sending these signals rteval can proceed to extract the data from the pipe. A wait() there would cause rteval to sit and wait forever. Signed-off-by: Luis Claudio R. Gonçalves <lgoncalv@redhat.com>
Diffstat (limited to 'rteval')
-rw-r--r--rteval/cyclictest.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/rteval/cyclictest.py b/rteval/cyclictest.py
index 03442e0..7970f35 100644
--- a/rteval/cyclictest.py
+++ b/rteval/cyclictest.py
@@ -235,7 +235,6 @@ class Cyclictest(Thread):
self.debug("stopping")
if c.poll() == None:
os.kill(c.pid, signal.SIGINT)
- c.wait()
# now parse the histogram output
for line in c.stdout:
if line.startswith('#'): continue