summaryrefslogtreecommitdiffstats
path: root/rfb.h
diff options
context:
space:
mode:
authordscho <dscho>2001-09-29 19:51:17 +0000
committerdscho <dscho>2001-09-29 19:51:17 +0000
commit08ed0461c7abca36fd6a6b0abf7ae466a2e8435a (patch)
tree36a9db4d83034048feaae920a071a670e6f5bcda /rfb.h
parent641012310eebe3a129c8a1939c3f8c9cd645ef50 (diff)
downloadlibtdevnc-08ed0461c7abca36fd6a6b0abf7ae466a2e8435a.tar.gz
libtdevnc-08ed0461c7abca36fd6a6b0abf7ae466a2e8435a.zip
finally fixed pthreads
Diffstat (limited to 'rfb.h')
-rw-r--r--rfb.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/rfb.h b/rfb.h
index 8842de4..0cdf6e4 100644
--- a/rfb.h
+++ b/rfb.h
@@ -282,9 +282,6 @@ typedef struct rfbClientRec {
int sock;
char *host;
-#ifdef HAVE_PTHREADS
- pthread_mutex_t outputMutex;
-#endif
/* Possible client states: */
enum {
RFB_PROTOCOL_VERSION, /* establishing protocol version */
@@ -333,6 +330,8 @@ typedef struct rfbClientRec {
#ifdef HAVE_PTHREADS
+ pthread_mutex_t dontKillMutex; /* if you need a reliable clientPtr */
+ pthread_mutex_t outputMutex;
pthread_mutex_t updateMutex;
pthread_cond_t updateCond;
#endif