Module Name: src
Committed By: ad
Date: Sun Jun 14 21:31:11 UTC 2020
Modified Files:
src/lib/libpthread: pthread.c
Log Message:
Don't need to ignore ESRCH from _lwp_park() any more.
To generate a diff of this commit:
cvs rdiff -u -r1.176 -r1.177 src/lib/libpthread/pthread.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libpthread/pthread.c
diff -u src/lib/libpthread/pthread.c:1.176 src/lib/libpthread/pthread.c:1.177
--- src/lib/libpthread/pthread.c:1.176 Thu Jun 11 18:42:02 2020
+++ src/lib/libpthread/pthread.c Sun Jun 14 21:31:11 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread.c,v 1.176 2020/06/11 18:42:02 ad Exp $ */
+/* $NetBSD: pthread.c,v 1.177 2020/06/14 21:31:11 ad Exp $ */
/*-
* Copyright (c) 2001, 2002, 2003, 2006, 2007, 2008, 2020
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread.c,v 1.176 2020/06/11 18:42:02 ad Exp $");
+__RCSID("$NetBSD: pthread.c,v 1.177 2020/06/14 21:31:11 ad Exp $");
#define __EXPOSE_STACK 1
@@ -1145,7 +1145,6 @@ pthread__park(pthread_t self, pthread_mu
switch (rv = errno) {
case EINTR:
case EALREADY:
- case ESRCH:
rv = 0;
break;
case ETIMEDOUT: