commit | 76baf213ac8606ae0ce64350511a22ef5c40ba6c | [log] [tgz] |
---|---|---|
author | bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Tue Jul 21 11:36:46 2009 +0000 |
committer | bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Tue Jul 21 11:36:46 2009 +0000 |
tree | fe9019d434a3a0a9e90a4739ea97c96449c431b2 | |
parent | bdcf81366e9d08c6910b586f52186d2aac65377b [diff] |
- 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