22 lines
807 B
Text
22 lines
807 B
Text
$NetBSD: patch-ed,v 1.1 2006/06/27 11:11:52 joerg Exp $
|
|
|
|
--- nsprpub/pr/src/pthreads/ptthread.c.orig 2006-06-26 14:40:42.000000000 +0000
|
|
+++ nsprpub/pr/src/pthreads/ptthread.c
|
|
@@ -847,7 +847,7 @@ void _PR_InitThreads(
|
|
#endif
|
|
|
|
#if defined(_PR_DCETHREADS) || defined(_POSIX_THREAD_PRIORITY_SCHEDULING)
|
|
-#if defined(FREEBSD)
|
|
+#if defined(FREEBSD) || defined(DRAGONFLY)
|
|
{
|
|
pthread_attr_t attr;
|
|
int policy;
|
|
@@ -1234,7 +1234,7 @@ static void suspend_signal_handler(PRInt
|
|
{
|
|
#if !defined(FREEBSD) && !defined(NETBSD) && !defined(OPENBSD) \
|
|
&& !defined(BSDI) && !defined(VMS) && !defined(UNIXWARE) \
|
|
- && !defined(DARWIN) && !defined(RISCOS) /*XXX*/
|
|
+ && !defined(DARWIN) && !defined(RISCOS) && !defined(DRAGONFLY) /*XXX*/
|
|
PRIntn rv;
|
|
sigwait(&sigwait_set, &rv);
|
|
#endif
|