From 820efbc58145e96f8f4329b2b9c1e159a85f561f Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Mon, 3 Apr 2006 20:01:38 +0000 Subject: [PATCH] remove unneeded unlock (pthread_cond_wait do unlock the mutex) --- lib/gdi/grc.cpp | 1 - 1 file changed, 1 deletion(-) 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 -- 2.30.2