summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/staprun/ChangeLog5
-rw-r--r--runtime/staprun/relay.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/runtime/staprun/ChangeLog b/runtime/staprun/ChangeLog
index a50c2779..db214020 100644
--- a/runtime/staprun/ChangeLog
+++ b/runtime/staprun/ChangeLog
@@ -1,3 +1,8 @@
+2007-04-10 Martin Hunt <hunt@redhat.com>
+
+ * relay.c (close_relayfs): Give threads some time to
+ run before closing.
+
2007-04-06 Martin Hunt <hunt@redhat.com>
* stp_merge.c (main): Remove extra newline in output.
diff --git a/runtime/staprun/relay.c b/runtime/staprun/relay.c
index 0a805999..5015cbef 100644
--- a/runtime/staprun/relay.c
+++ b/runtime/staprun/relay.c
@@ -164,6 +164,7 @@ void close_relayfs(void)
void *res;
dbug("closing\n");
+ sleep(1);
stop_threads = 1;
for (i = 0; i < ncpus; i++) {