diff --git a/stepmania/src/arch/Threads/Threads_Pthreads.cpp b/stepmania/src/arch/Threads/Threads_Pthreads.cpp index a8b4c368ee..41ad6f3861 100644 --- a/stepmania/src/arch/Threads/Threads_Pthreads.cpp +++ b/stepmania/src/arch/Threads/Threads_Pthreads.cpp @@ -122,12 +122,14 @@ bool MutexImpl_Pthreads::Lock() #if defined(HAVE_PTHREAD_MUTEX_TIMEDLOCK) if( UseTimedlock() ) { - int len = 10; /* seconds */ + int len = 30; /* seconds */ int tries = 2; while( tries-- ) { - /* Wait for ten seconds. If it takes longer than that, we're probably deadlocked. */ + /* 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 + * probably deadlocked. */ timeval tv; gettimeofday( &tv, NULL );