Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/irix Missing P_ZERO in priority mask
details: https://anonhg.NetBSD.org/src/rev/a1474af68bde
branches: trunk
changeset: 534779:a1474af68bde
user: manu <manu%NetBSD.org@localhost>
date: Fri Aug 02 22:52:36 2002 +0000
description:
Missing P_ZERO in priority mask
diffstat:
sys/compat/irix/irix_signal.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r d8e58b07255c -r a1474af68bde sys/compat/irix/irix_signal.c
--- a/sys/compat/irix/irix_signal.c Fri Aug 02 22:45:57 2002 +0000
+++ b/sys/compat/irix/irix_signal.c Fri Aug 02 22:52:36 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: irix_signal.c,v 1.19 2002/07/28 18:42:41 jdolecek Exp $ */
+/* $NetBSD: irix_signal.c,v 1.20 2002/08/02 22:52:36 manu Exp $ */
/*-
* Copyright (c) 1994, 2001-2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: irix_signal.c,v 1.19 2002/07/28 18:42:41 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: irix_signal.c,v 1.20 2002/08/02 22:52:36 manu Exp $");
#include <sys/types.h>
#include <sys/signal.h>
@@ -604,7 +604,8 @@
if (rticks != 0)
microtime(&tvb);
- if ((tsleep(&dontcare, PCATCH, 0, rticks) != 0) && (rticks != 0)) {
+ if ((tsleep(&dontcare, PZERO|PCATCH, 0, rticks) != 0) &&
+ (rticks != 0)) {
microtime(&tve);
timersub(&tve, &tvb, &tvd);
delta = ((tvd.tv_sec * 1000000) + tvd.tv_usec); /* XXX */
Home |
Main Index |
Thread Index |
Old Index