remove unneeded unlock (pthread_cond_wait do unlock the mutex)
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 3 Apr 2006 20:01:38 +0000 (20:01 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 3 Apr 2006 20:01:38 +0000 (20:01 +0000)
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