Sync'd with the HEAD branch again. unlabeled-3.19.12
authorcls%seawood.org
Tue, 21 Sep 1999 19:43:35 +0000
branchunlabeled-3.19.12
changeset 823 572e0d988c72
parent 783 38fb81d8f88d
push idunknown
push userunknown
push dateunknown
Sync'd with the HEAD branch again.
pr/src/pthreads/ptthread.c
--- a/pr/src/pthreads/ptthread.c
+++ b/pr/src/pthreads/ptthread.c
@@ -196,17 +196,16 @@ static void *_pt_root(void *arg)
     }
 
     return NULL;
 }  /* _pt_root */
 
 static PRThread* pt_AttachThread(void)
 {
     PRThread *thred = NULL;
-    void *privateData = NULL;
 
     /*
      * NSPR must have been initialized when PR_AttachThread is called.
      * We cannot have PR_AttachThread call implicit initialization
      * because if multiple threads call PR_AttachThread simultaneously,
      * NSPR may be initialized more than once.
      * We can't call any function that calls PR_GetCurrentThread()
      * either (e.g., PR_SetError()) as that will result in infinite
@@ -950,17 +949,19 @@ static sigset_t javagc_intsoff_sigmask;
 
 #else /* defined(_PR_DCETHREADS) */
 
 /* a bogus signal mask for forcing a timed wait */
 /* Not so bogus in AIX as we really do a sigwait */
 static sigset_t sigwait_set;
 
 static struct timespec onemillisec = {0, 1000000L};
+#ifndef PT_NO_SIGTIMEDWAIT
 static struct timespec hundredmillisec = {0, 100000000L};
+#endif
 
 static void suspend_signal_handler(PRIntn sig);
 
 #ifdef PT_NO_SIGTIMEDWAIT
 static void null_signal_handler(PRIntn sig);
 #endif
 
 #endif /* defined(_PR_DCETHREADS) */