Remove perlcc and the byteloader
[p5sagit/p5-mst-13.2.git] / NetWare / nw5thread.h
index 58e1596..ad70db0 100644 (file)
 
 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"
 {
@@ -95,7 +100,7 @@ typedef unsigned long perl_mutex;
 //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;                                       \
@@ -105,7 +110,7 @@ typedef unsigned long perl_mutex;
 
 #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)                \
@@ -113,7 +118,7 @@ typedef unsigned long perl_mutex;
 
 #define COND_BROADCAST(c) \
     STMT_START {                                               \
-       ConsolePrintf("In COND_BROADCAST\n");   \       
+       /*ConsolePrintf("In COND_BROADCAST\n"); */\
     } STMT_END
 
        /*if ((c)->waiters > 0 ) {                                      \
@@ -125,13 +130,13 @@ typedef unsigned long perl_mutex;
        }       \*/
 #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;                                       \