diff options
author | dscho <dscho> | 2001-10-02 02:44:03 +0000 |
---|---|---|
committer | dscho <dscho> | 2001-10-02 02:44:03 +0000 |
commit | 095539cd8c13a18b86f33eec817908cb10c2efbc (patch) | |
tree | 98febfaece5012739ec5009ef96d13bd33a8879e /sockets.c | |
parent | aa8d2ae174f1b00473ec0415e8464599a5eb4564 (diff) | |
download | libtdevnc-095539cd8c13a18b86f33eec817908cb10c2efbc.tar.gz libtdevnc-095539cd8c13a18b86f33eec817908cb10c2efbc.zip |
support for server side colour maps, fix for non-pthread, support for 3bpp
Diffstat (limited to 'sockets.c')
-rw-r--r-- | sockets.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -276,14 +276,17 @@ void rfbCloseClient(cl) rfbClientPtr cl; { +#ifdef HAVE_PTHREADS pthread_mutex_lock(&cl->updateMutex); +#endif FD_CLR(cl->sock,&(cl->screen->allFds)); close(cl->sock); cl->sock = -1; +#ifdef HAVE_PTHREADS pthread_cond_signal(&cl->updateCond); //pthread_mutex_lock(&cl->updateMutex); - //rfbClientConnectionGone(cl); pthread_mutex_unlock(&cl->updateMutex); +#endif } |