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/87ba1506e412
branches:  trunk
changeset: 934619:87ba1506e412
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 610a18c49377 -r 87ba1506e412 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