From: Andreas Monzner Date: Fri, 16 Jun 2006 13:36:48 +0000 (+0000) Subject: small fix X-Git-Tag: 2.6.0~3309 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/84fff4d373d10a3676e239c02e759cffff5b5cf2 small fix --- diff --git a/lib/gdi/grc.cpp b/lib/gdi/grc.cpp index a9bac4af..274d221b 100644 --- a/lib/gdi/grc.cpp +++ b/lib/gdi/grc.cpp @@ -125,7 +125,8 @@ void *gRC::thread() m_notify_pump.send(1); } #ifndef SYNC_PAINT - pthread_cond_wait(&cond, &mutex); + while(rp == wp) + pthread_cond_wait(&cond, &mutex); pthread_mutex_unlock(&mutex); #endif }