From 79beff5e26024d546882a7bd97ea1d2f49e05fdd Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sat, 9 Oct 2004 16:56:29 +0000 Subject: [PATCH] revert timeout length --- stepmania/src/arch/Threads/Threads_Pthreads.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/stepmania/src/arch/Threads/Threads_Pthreads.cpp b/stepmania/src/arch/Threads/Threads_Pthreads.cpp index 41ad6f3861..ed2d302f41 100644 --- a/stepmania/src/arch/Threads/Threads_Pthreads.cpp +++ b/stepmania/src/arch/Threads/Threads_Pthreads.cpp @@ -122,13 +122,12 @@ bool MutexImpl_Pthreads::Lock() #if defined(HAVE_PTHREAD_MUTEX_TIMEDLOCK) if( UseTimedlock() ) { - int len = 30; /* seconds */ + int len = 10; /* seconds */ int tries = 2; while( tries-- ) { - /* Wait for 30 seconds. This timeout has to be long enough to allow for - * for a call to 'mount' to timeout. If it takes longer than that, we're + /* Wait for ten seconds. If it takes longer than that, we're * probably deadlocked. */ timeval tv; gettimeofday( &tv, NULL );