From: Andreas Monzner Date: Mon, 3 Apr 2006 20:01:38 +0000 (+0000) Subject: remove unneeded unlock (pthread_cond_wait do unlock the mutex) X-Git-Tag: 2.6.0~3727 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/820efbc58145e96f8f4329b2b9c1e159a85f561f remove unneeded unlock (pthread_cond_wait do unlock the mutex) --- diff --git a/lib/gdi/grc.cpp b/lib/gdi/grc.cpp index e4e4a861..b8426192 100644 --- a/lib/gdi/grc.cpp +++ b/lib/gdi/grc.cpp @@ -131,7 +131,6 @@ void *gRC::thread() #ifndef SYNC_PAINT pthread_cond_wait(&cond, &mutex); #endif - pthread_mutex_unlock(&mutex); } } #ifndef SYNC_PAINT