- Replaced pthread_cond_wait() by pthread_cond_timedwait() calls.
- An error message is now printed in case pthread_cond_timedwait()
  fails.
- Refactoring: joined thread1() and thread2() into one function.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10501 a5019735-40e9-0310-863c-91ae7b9d1cf9
3 files changed