Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpthread Explain what PTHREAD__COMPAT is for. This co...
details: https://anonhg.NetBSD.org/src/rev/479793baf7d3
branches: trunk
changeset: 785135:479793baf7d3
user: apb <apb%NetBSD.org@localhost>
date: Mon Feb 25 17:04:46 2013 +0000
description:
Explain what PTHREAD__COMPAT is for. This comment in
src/libpthread/Makefile is adated from a comment in
src/doc/CHANGES.prev.
diffstat:
lib/libpthread/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 0b95f6d05048 -r 479793baf7d3 lib/libpthread/Makefile
--- a/lib/libpthread/Makefile Mon Feb 25 16:52:57 2013 +0000
+++ b/lib/libpthread/Makefile Mon Feb 25 17:04:46 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.78 2013/01/31 20:57:58 riastradh Exp $
+# $NetBSD: Makefile,v 1.79 2013/02/25 17:04:46 apb Exp $
#
WARNS?= 5
@@ -60,6 +60,11 @@
SRCS+= pthread_md.S
.endif
+# The PTHREAD__COMPAT flag builds a libpthread that can be dropped
+# into a NetBSD 2/3/4 chroot with a NetBSD 5 or later kernel.
+# This makes threading work in the chroot, no other modifications
+# required.
+#
.if defined(PTHREAD__COMPAT)
SRCS+= pthread_compat.c
.PATH.c: ${.CURDIR}/../../common/lib/libc/arch/${ARCHSUBDIR}/atomic
Home |
Main Index |
Thread Index |
Old Index