]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
The pth_broadcast test program now prints a message when finished such that the diffe...
authorBart Van Assche <bvanassche@acm.org>
Mon, 3 Mar 2008 17:37:24 +0000 (17:37 +0000)
committerBart Van Assche <bvanassche@acm.org>
Mon, 3 Mar 2008 17:37:24 +0000 (17:37 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7547

exp-drd/tests/pth_broadcast.c
exp-drd/tests/pth_broadcast.stderr.exp

index ff1b2c1c100cabad8009bdf811585a475447809d..a2ddcfd90569907ead003b9b20c076b1808bf070 100644 (file)
@@ -1,8 +1,9 @@
-// Broadcast a (POSIX threads) signal to all running threads, where the 
-// number of threads can be specified on the command line. This test program
-// is intended not only to test the correctness of drd but also to test
-// whether performance does not degrade too much when the number of threads
-// increases.
+/** Broadcast a (POSIX threads) signal to all running threads, where the 
+ *  number of threads can be specified on the command line. This test program
+ *  is intended not only to test the correctness of drd but also to test
+ *  whether performance does not degrade too much when the number of threads
+ *  increases.
+ */
 
 
 #include <assert.h>
@@ -176,5 +177,8 @@ int main(int argc, char** argv)
   }
   pthread_cond_destroy(&s_cond);
   pthread_mutex_destroy(&s_mutex);
+
+  fprintf(stderr, "Done.\n");
+
   return 0;
 }
index d18786f80668a209115b4a13cf5e8afa8d9cd471..d16127fb58864e193433547434a63b906e78f2fa 100644 (file)
@@ -1,3 +1,4 @@
 
+Done.
 
 ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)