Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/libexec/ld.elf_so Pull up the following, requested by he ...
details: https://anonhg.NetBSD.org/src/rev/d0cc1086e966
branches: netbsd-6
changeset: 776881:d0cc1086e966
user: martin <martin%NetBSD.org@localhost>
date: Sun Jan 25 10:22:59 2015 +0000
description:
Pull up the following, requested by he in ticket #1238:
src/libexec/ld.elf_so/rtld.c 1.161
Fix the other lwp_park() to pass 0 for the 'unpark' lwp.
diffstat:
libexec/ld.elf_so/rtld.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2afa847d27e2 -r d0cc1086e966 libexec/ld.elf_so/rtld.c
--- a/libexec/ld.elf_so/rtld.c Sat Jan 24 13:51:06 2015 +0000
+++ b/libexec/ld.elf_so/rtld.c Sun Jan 25 10:22:59 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtld.c,v 1.155.2.2 2015/01/24 13:49:23 martin Exp $ */
+/* $NetBSD: rtld.c,v 1.155.2.3 2015/01/25 10:22:59 martin Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: rtld.c,v 1.155.2.2 2015/01/24 13:49:23 martin Exp $");
+__RCSID("$NetBSD: rtld.c,v 1.155.2.3 2015/01/25 10:22:59 martin Exp $");
#endif /* not lint */
#include <sys/param.h>
@@ -1561,7 +1561,7 @@
_rtld_die();
}
if (cur)
- _lwp_park(NULL, -1, __UNVOLATILE(&_rtld_mutex), NULL);
+ _lwp_park(NULL, 0, __UNVOLATILE(&_rtld_mutex), NULL);
atomic_cas_uint(&_rtld_waiter_exclusive, self, 0);
if (waiter)
_lwp_unpark(waiter, __UNVOLATILE(&_rtld_mutex));
Home |
Main Index |
Thread Index |
Old Index