Commented out the sigwait() call for BSDI. BSD/OS 3.1 does not have
authorwtc%netscape.com
Mon, 01 Feb 1999 23:24:58 +0000
changeset 419 10aea065cbad04e265101312d82a2b6d687e00be
parent 418 a7b5550bdb4b3f3844c9060c11b5d212dc2a5b4b
child 420 7666cc9b7f25fb33aea74a389768c348b33e9db4
push idunknown
push userunknown
push dateunknown
Commented out the sigwait() call for BSDI. BSD/OS 3.1 does not have the sigwait() function.
pr/src/pthreads/ptthread.c
--- a/pr/src/pthreads/ptthread.c
+++ b/pr/src/pthreads/ptthread.c
@@ -1115,17 +1115,18 @@ static void suspend_signal_handler(PRInt
 
 	/*
 	 * now, block current thread
 	 */
 #if defined(PT_NO_SIGTIMEDWAIT)
 	pthread_cond_signal(&me->suspendResumeCV);
 	while (me->suspend & PT_THREAD_SUSPENDED)
 	{
-#if !defined(FREEBSD) && !defined(NETBSD) && !defined(OPENBSD)  /*XXX*/
+#if !defined(FREEBSD) && !defined(NETBSD) && !defined(OPENBSD) \
+    && !defined(BSDI)  /*XXX*/
         PRIntn rv;
 	    sigwait(&sigwait_set, &rv);
 #endif
 	}
 	me->suspend |= PT_THREAD_RESUMED;
 	pthread_cond_signal(&me->suspendResumeCV);
 #else /* defined(PT_NO_SIGTIMEDWAIT) */
 	while (me->suspend & PT_THREAD_SUSPENDED)