|
|
|
@ -150,7 +150,7 @@ void rfbScheduleCopyRegion(rfbScreenInfoPtr rfbScreen,sraRegionPtr copyRegion,in
|
|
|
|
|
} else {
|
|
|
|
|
sraRgnOr(cl->modifiedRegion,copyRegion);
|
|
|
|
|
}
|
|
|
|
|
TQT_SIGNAL(cl->updateCond);
|
|
|
|
|
TSIGNAL(cl->updateCond);
|
|
|
|
|
UNLOCK(cl->updateMutex);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -208,7 +208,7 @@ void rfbMarkRegionAsModified(rfbScreenInfoPtr rfbScreen,sraRegionPtr modRegion)
|
|
|
|
|
while((cl=rfbClientIteratorNext(iterator))) {
|
|
|
|
|
LOCK(cl->updateMutex);
|
|
|
|
|
sraRgnOr(cl->modifiedRegion,modRegion);
|
|
|
|
|
TQT_SIGNAL(cl->updateCond);
|
|
|
|
|
TSIGNAL(cl->updateCond);
|
|
|
|
|
UNLOCK(cl->updateMutex);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -308,7 +308,7 @@ clientInput(void *data)
|
|
|
|
|
|
|
|
|
|
/* Get rid of the output thread. */
|
|
|
|
|
LOCK(cl->updateMutex);
|
|
|
|
|
TQT_SIGNAL(cl->updateCond);
|
|
|
|
|
TSIGNAL(cl->updateCond);
|
|
|
|
|
UNLOCK(cl->updateMutex);
|
|
|
|
|
IF_PTHREADS(pthread_join(output_thread, NULL));
|
|
|
|
|
|
|
|
|
|