remove unneeded unlock (pthread_cond_wait do unlock the mutex)
[enigma2.git] / lib / gdi / grc.cpp
index e4e4a8615c5149933d063b954be6fb76225a8412..b84261920c8d56531c7bdf9a34884208d2245320 100644 (file)
@@ -131,7 +131,6 @@ void *gRC::thread()
 #ifndef SYNC_PAINT
                        pthread_cond_wait(&cond, &mutex);
 #endif
-                       pthread_mutex_unlock(&mutex);
                }
        }
 #ifndef SYNC_PAINT