Commit 2a683877 authored by dscho's avatar dscho

working on IRIX pthreads problem

parent b3f2c7d0
...@@ -6,7 +6,8 @@ documentation ...@@ -6,7 +6,8 @@ documentation
perhaps the option (or just hint) not to mark very tiny regions as perhaps the option (or just hint) not to mark very tiny regions as
modified, because that is inefficient for the encodings. modified, because that is inefficient for the encodings.
optionally dont draw rich cursors as xcursors optionally dont draw rich cursors as xcursors
cursor smears on IRIX with pthreads, then has bus error. cursor smears on IRIX with pthreads, then has bus error. has to be a mutex
problem in cursor routines.
later: later:
------ ------
......
...@@ -145,10 +145,10 @@ clientOutput(void *data) ...@@ -145,10 +145,10 @@ clientOutput(void *data)
updateRegion = sraRgnCreateRgn(cl->modifiedRegion); updateRegion = sraRgnCreateRgn(cl->modifiedRegion);
sraRgnAnd(updateRegion,cl->requestedRegion); sraRgnAnd(updateRegion,cl->requestedRegion);
sraRgnSubtract(cl->modifiedRegion,updateRegion); sraRgnSubtract(cl->modifiedRegion,updateRegion);
UNLOCK(cl->updateMutex);
/* Now actually send the update. */ /* Now actually send the update. */
rfbSendFramebufferUpdate(cl, updateRegion); rfbSendFramebufferUpdate(cl, updateRegion);
UNLOCK(cl->updateMutex);
sraRgnDestroy(updateRegion); sraRgnDestroy(updateRegion);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment