wakeup gdi thread when the renderbuffer is full
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 23 Jan 2007 21:19:47 +0000 (21:19 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 23 Jan 2007 21:19:47 +0000 (21:19 +0000)
lib/gdi/grc.cpp

index 67f0059..736630a 100644 (file)
@@ -63,6 +63,7 @@ void gRC::submit(const gOpcode &o)
                if ( tmp == rp )
                {
 #ifndef SYNC_PAINT
+                       pthread_cond_signal(&cond);  // wakeup gdi thread
                        pthread_mutex_unlock(&mutex);
 #else
                        thread();