Eliminate a superfluous sleep() call and check the pthread_cond_wait() return value

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11924 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 file changed