|
From: Tom H. <th...@cy...> - 2004-10-18 12:11:27
|
CVS commit by thughes:
Add a couple of lines that were missed out in the long timeouts patch.
M +2 -0 vg_libpthread.c 1.170
--- valgrind/coregrind/vg_libpthread.c #1.169:1.170
@@ -1376,4 +1376,6 @@ int __pthread_mutex_timedlock(pthread_mu
if (ull_ms_end_after_1970 < ull_ms_now_after_1970)
ull_ms_end_after_1970 = ull_ms_now_after_1970;
+ ull_ms_now = ((unsigned long long int)(ms_now));
+ ull_ms_end = ull_ms_now + (ull_ms_end_after_1970 - ull_ms_now_after_1970);
if (ull_ms_end >= (unsigned long long int)(0xFFFFFFFFUL)) {
/* use 0xFFFFFFFEUL because 0xFFFFFFFFUL is reserved for no timeout
|