From e50d6b1df8d265c11b43b72d5aa3488968d79577 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 13 Aug 2010 05:48:02 +0000 Subject: [PATCH] Forgot one TSIGNAL problem... git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1162932 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- krfb/libvncserver/rfb.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/krfb/libvncserver/rfb.h b/krfb/libvncserver/rfb.h index 226c9fe7..b715ca8a 100644 --- a/krfb/libvncserver/rfb.h +++ b/krfb/libvncserver/rfb.h @@ -144,7 +144,7 @@ typedef unsigned long KeySym; #define MUTEX(mutex) int mutex #define INIT_MUTEX(mutex) fprintf(stderr,"%s:%d INIT_MUTEX(%s,0x%x)\n",__FILE__,__LINE__,#mutex,&(mutex)) #define TINI_MUTEX(mutex) fprintf(stderr,"%s:%d TINI_MUTEX(%s)\n",__FILE__,__LINE__,#mutex) -#define VQT_SIGNAL(cond) fprintf(stderr,"%s:%d VQT_SIGNAL(%s)\n",__FILE__,__LINE__,#cond) +#define TSIGNAL(cond) fprintf(stderr,"%s:%d TSIGNAL(%s)\n",__FILE__,__LINE__,#cond) #define WAIT(cond,mutex) /* fprintf(stderr,"%s:%d WAIT(%s,%s)\n",__FILE__,__LINE__,#cond,#mutex) */ #define COND(cond) #define INIT_COND(cond) fprintf(stderr,"%s:%d INIT_COND(%s)\n",__FILE__,__LINE__,#cond) @@ -156,7 +156,7 @@ typedef unsigned long KeySym; #define MUTEX(mutex) pthread_mutex_t (mutex) #define INIT_MUTEX(mutex) pthread_mutex_init(&(mutex),NULL) #define TINI_MUTEX(mutex) pthread_mutex_destroy(&(mutex)) -#define VQT_SIGNAL(cond) pthread_cond_signal(&(cond)) +#define TSIGNAL(cond) pthread_cond_signal(&(cond)) #define WAIT(cond,mutex) pthread_cond_wait(&(cond),&(mutex)) #define TIMEDWAIT(cond,mutex,t) {struct timeval tv;\ tv.tv_sec = (t) / 1000;\ @@ -173,7 +173,7 @@ typedef unsigned long KeySym; #define MUTEX(mutex) #define INIT_MUTEX(mutex) #define TINI_MUTEX(mutex) -#define VQT_SIGNAL(cond) +#define TSIGNAL(cond) #define WAIT(cond,mutex) this_is_unsupported #define COND(cond) #define INIT_COND(cond)