summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorkamil <kamil@NetBSD.org>2017-02-08 03:44:40 +0000
committerkamil <kamil@NetBSD.org>2017-02-08 03:44:40 +0000
commitba1ef4a69a631bb51aef9b68b51065b93ad2215c (patch)
tree94c449a572f66f3811f6c8dc1fc037c1617039a3 /lib/libpthread
parenta1340004a923498cb812191a3bff2e56bd48340f (diff)
libpthread_dbg(3) deletion from the base distribution
libpthread_dbg(3) is a remnant library from the M:N thread model (pre-NetBSD-5.0) API to introspect threads within a process and for use of debuggers. Currently in the 1:1 model it's not used in GDB neither in LLDB and it's not either planned to be used. It's current function to read pthread_t structures is realizable within a regular debugger capable to instrospect objects within a tracee (GDB, LLDB...). Remaining users of this API can still use this library from pkgsrc/devel/libpthread_dbg. Sponsored by <The NetBSD Foundation>
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/README5
-rw-r--r--lib/libpthread/TODO4
-rw-r--r--lib/libpthread/pthread.33
-rw-r--r--lib/libpthread/pthread_int.h7
4 files changed, 6 insertions, 13 deletions
diff --git a/lib/libpthread/README b/lib/libpthread/README
index a9e8e84c562..82a7aabd89c 100644
--- a/lib/libpthread/README
+++ b/lib/libpthread/README
@@ -1,7 +1,4 @@
-$NetBSD: README,v 1.6 2009/04/16 18:37:30 wiz Exp $
-
-When making changes to libpthread, please ensure that libpthread_dbg
-still compiles.
+$NetBSD: README,v 1.7 2017/02/08 03:44:41 kamil Exp $
Due to limitations in the current pthread implementation, makecontext(3)
and sigaltstack(2) should not be used in programs which link against
diff --git a/lib/libpthread/TODO b/lib/libpthread/TODO
index 1a40030902f..c68149a021e 100644
--- a/lib/libpthread/TODO
+++ b/lib/libpthread/TODO
@@ -1,4 +1,4 @@
-$NetBSD: TODO,v 1.17 2012/02/03 21:11:17 joerg Exp $
+$NetBSD: TODO,v 1.18 2017/02/08 03:44:41 kamil Exp $
Interfaces/features to implement:
@@ -10,3 +10,5 @@ Interfaces/features to implement:
- Keep a pool of dead LWPs so that we do not have take the full hit of
_lwp_create() every time pthread_create() is called.
+
+- kill pthread__dbg (pthread_dbg(3) has been removed from base)
diff --git a/lib/libpthread/pthread.3 b/lib/libpthread/pthread.3
index d240e543f68..cb7b3d66d15 100644
--- a/lib/libpthread/pthread.3
+++ b/lib/libpthread/pthread.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread.3,v 1.16 2016/11/24 12:19:28 wiz Exp $
+.\" $NetBSD: pthread.3,v 1.17 2017/02/08 03:44:41 kamil Exp $
.\"
.\" Copyright (c) 2003, 2007, 2009 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -157,7 +157,6 @@ for
.Xr sh 1 ) .
.El
.Sh SEE ALSO
-.Xr pthread_dbg 3
.Rs
.%A David R. Butenhof
.%T Programming with POSIX(R) Threads
diff --git a/lib/libpthread/pthread_int.h b/lib/libpthread/pthread_int.h
index b3463ee5989..17f4ac97034 100644
--- a/lib/libpthread/pthread_int.h
+++ b/lib/libpthread/pthread_int.h
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread_int.h,v 1.92 2015/05/29 16:05:13 christos Exp $ */
+/* $NetBSD: pthread_int.h,v 1.93 2017/02/08 03:44:41 kamil Exp $ */
/*-
* Copyright (c) 2001, 2002, 2003, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -29,11 +29,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-/*
- * NOTE: when changing anything in this file, please ensure that
- * libpthread_dbg still compiles.
- */
-
#ifndef _LIB_PTHREAD_INT_H
#define _LIB_PTHREAD_INT_H