|
From: Jeremy H. <jh...@ma...> - 2004-07-07 22:26:25
|
Hello, I am attempting to run vdr (videodisk recorder) under valgrind but it uses pthread_rwlock_timedwrlock and pthread_rwlock_timedrdlock in thread.c. I considered a temporary hack to forice it to use pthread_rwlock_wrlock and pthread_rwlock_rdlock but that can lead to threads freezing indefinitely. I'm not a fan of avoiding a deadlock by time delayed response, but I'm sure there is a good reason why the timed versions are being used, indeed I have noticed strange problems with the nontimed ones. What is the possability that these functions could be implemented in valgrind's pthreads library? Thanks in advance, Jeremy |