Source-Changes-HG archive

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

[src/trunk]: src/lib/libpthread Revert last 2 updates - these are, of course, ...



details:   https://anonhg.NetBSD.org/src/rev/a9b00f3edc60
branches:  trunk
changeset: 828321:a9b00f3edc60
user:      kre <kre%NetBSD.org@localhost>
date:      Fri Dec 08 09:59:26 2017 +0000

description:
Revert last 2 updates - these are, of course, not needed at all...

diffstat:

 lib/libpthread/pthread_compat.c |  11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diffs (32 lines):

diff -r 02c8e5f36bd7 -r a9b00f3edc60 lib/libpthread/pthread_compat.c
--- a/lib/libpthread/pthread_compat.c   Fri Dec 08 09:41:16 2017 +0000
+++ b/lib/libpthread/pthread_compat.c   Fri Dec 08 09:59:26 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread_compat.c,v 1.5 2017/12/08 09:41:16 kre Exp $   */
+/*     $NetBSD: pthread_compat.c,v 1.6 2017/12/08 09:59:26 kre Exp $   */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread_compat.c,v 1.5 2017/12/08 09:41:16 kre Exp $");
+__RCSID("$NetBSD: pthread_compat.c,v 1.6 2017/12/08 09:59:26 kre Exp $");
 
 #include <sys/param.h>
 #include <sys/syscall.h>
@@ -89,12 +89,7 @@
     const void *e, const void *f)
 {
 
-       if (c != NULL) {
-               struct timespec t = *c;
-
-               return syscall(SYS____lwp_park60, a, b, &t, d, e, f);
-       } else
-               return syscall(SYS____lwp_park60, a, b, NULL, d, e, f);
+       return syscall(SYS____lwp_park60, a, b, c, d, e, f);
 }
 
 int



Home | Main Index | Thread Index | Old Index