]> sourceware.org Git - systemtap.git/commit
Make pthread_stacks.exp less random by improving its test program.
authorDavid Smith <dsmith@redhat.com>
Wed, 27 Jan 2016 16:52:44 +0000 (10:52 -0600)
committerDavid Smith <dsmith@redhat.com>
Wed, 27 Jan 2016 16:52:44 +0000 (10:52 -0600)
commit0dbf8999c35513620312d182b25368a05e937033
tree271142eee6697ef9664bae17d638cd21dd872543
parentd9c423577b3c09fdbf01ea1dd3187a4b8c82379e
Make pthread_stacks.exp less random by improving its test program.

* testsuite/systemtap.base/pthread_stacks.c: Improve the test program by
  no longer calling 'sleep()' (whose behavior is undefined in a pthreads
  program). Also, be sure to wait on all the threads to finish, so we can
  be sure a thread has the chance to print the stack size before we exit.
testsuite/systemtap.base/pthread_stacks.c
This page took 0.025838 seconds and 5 git commands to generate.