Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libpthread Don't need to ignore ESRCH from _lwp_park() a...



details:   https://anonhg.NetBSD.org/src/rev/cd88be92e1db
branches:  trunk
changeset: 1011000:cd88be92e1db
user:      ad <ad%NetBSD.org@localhost>
date:      Sun Jun 14 21:31:11 2020 +0000

description:
Don't need to ignore ESRCH from _lwp_park() any more.

diffstat:

 lib/libpthread/pthread.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 0b9f923e131e -r cd88be92e1db lib/libpthread/pthread.c
--- a/lib/libpthread/pthread.c  Sun Jun 14 21:31:01 2020 +0000
+++ b/lib/libpthread/pthread.c  Sun Jun 14 21:31:11 2020 +0000
@@ -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 @@
                        switch (rv = errno) {
                        case EINTR:
                        case EALREADY:
-                       case ESRCH:
                                rv = 0;
                                break;
                        case ETIMEDOUT:



Home | Main Index | Thread Index | Old Index