typedef long perl_key;
-#if (defined (USE_ITHREADS) || defined (USE_5005THREADS)) && defined(MPK_ON)
+// The line below is just a definition to avoid compilation error.
+// It is not being used anywhere.
+// Ananth, 3 Sept 2001
+typedef struct nw_cond { long waiters; unsigned int sem; } perl_cond;
+
+#if defined (USE_ITHREADS) && defined(MPK_ON)
#ifdef __cplusplus
extern "C"
{
//For now let us just see when this happens -sgp.
#define COND_INIT(c) \
STMT_START { \
- ConsolePrintf("In COND_INIT\n"); \
+ /*ConsolePrintf("In COND_INIT\n"); */\
} STMT_END
/* (c)->waiters = 0; \
#define COND_SIGNAL(c) \
STMT_START { \
- ConsolePrintf("In COND_SIGNAL\n"); \
+ /*ConsolePrintf("In COND_SIGNAL\n"); */\
} STMT_END
/*if ((c)->waiters > 0 && \
SignalLocalSemaphore((c)->sem) != 0) \
#define COND_BROADCAST(c) \
STMT_START { \
- ConsolePrintf("In COND_BROADCAST\n"); \
+ /*ConsolePrintf("In COND_BROADCAST\n"); */\
} STMT_END
/*if ((c)->waiters > 0 ) { \
} \*/
#define COND_WAIT(c, m) \
STMT_START { \
- ConsolePrintf("In COND_WAIT\n"); \
+ /*ConsolePrintf("In COND_WAIT\n"); */\
} STMT_END
#define COND_DESTROY(c) \
STMT_START { \
- ConsolePrintf("In COND_DESTROY\n"); \
+ /*ConsolePrintf("In COND_DESTROY\n"); */\
} STMT_END
/* (c)->waiters = 0; \