summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authorQuentin BUATHIER <[email protected]>2018-08-09 09:33:59 +0200
committerQuentin BUATHIER <[email protected]>2018-08-09 10:05:37 +0200
commitcedae6e6f97b14f5df3ea7c5f7efd59f2bc9ad82 (patch)
tree253664b8a90865a6d68458156d6bec3c79640b7d /rfb
parent96e163bdae65aa2c68e4301cf9ebe29e9f53f3d9 (diff)
downloadlibtdevnc-cedae6e6f97b14f5df3ea7c5f7efd59f2bc9ad82.tar.gz
libtdevnc-cedae6e6f97b14f5df3ea7c5f7efd59f2bc9ad82.zip
Fix the concurrent issue hapenning between the freeing of the client and the clientOutput thread
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index 3d6d31e..9c60f3d 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -465,6 +465,7 @@ typedef struct _rfbClientRec {
int protocolMinorVersion;
#ifdef LIBVNCSERVER_HAVE_LIBPTHREAD
+ int pipe_notify_client_thread[2];
pthread_t client_thread;
#endif