summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorcl <cl@NetBSD.org>2003-10-29 18:53:34 +0000
committercl <cl@NetBSD.org>2003-10-29 18:53:34 +0000
commit812a254c5d2d769f0b60ea4d960f6d0d5c90fff4 (patch)
treefeebd66b52b087fd9f5a5653f9b84d2066264343 /lib/libpthread
parent18b32ac5ba6b6cbf64c15290baf95a65f36cc1c7 (diff)
remove incorrect assert:
regular threads can block in the kernel while holding (libpthread) locks and have to be continued XXX if the blocked upcall is preempted, the blocked threads syscall XXX return value can get lost
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/pthread_sa.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libpthread/pthread_sa.c b/lib/libpthread/pthread_sa.c
index 0b1eeb80af5..1720f2c9b6c 100644
--- a/lib/libpthread/pthread_sa.c
+++ b/lib/libpthread/pthread_sa.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread_sa.c,v 1.18 2003/10/24 17:35:22 yamt Exp $ */
+/* $NetBSD: pthread_sa.c,v 1.19 2003/10/29 18:53:34 cl Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread_sa.c,v 1.18 2003/10/24 17:35:22 yamt Exp $");
+__RCSID("$NetBSD: pthread_sa.c,v 1.19 2003/10/29 18:53:34 cl Exp $");
#include <err.h>
#include <errno.h>
@@ -107,7 +107,6 @@ pthread__upcall(int type, struct sa_t *sas[], int ev, int intr, void *arg)
if (type == SA_UPCALL_BLOCKED) {
/* Don't handle this SA in the usual processing. */
t = pthread__sa_id(sas[1]);
- pthread__assert(t->pt_type != PT_THREAD_UPCALL);
pthread__assert(self->pt_spinlocks == 0);
if ((t->pt_spinlocks > 0) || (t->pt_next)) {
SDPRINTF(("(up %p) unblocking %p "