NetBSD/lib/libpthread
joerg 928f301be9 Rework TLS initialisation:
- Update TCB for the initial thread in pthread__initthread, not
  pthread__init to get it valid as soon as possible.
- Don't overwrite the pt_tls field in pthread__initthread.
- Don't deallocate pt_tls in pthread__scrubthread. This worked more by
  chance than by design.
- Handle freeing the TLS area in pthread_create after removing the
  thread instance from the dead queue.
2011-03-30 00:03:26 +00:00
..
arch Allow storing and receiving the LWP private pointer via ucontext_t 2011-02-24 04:28:41 +00:00
Makefile Add support for DF_1_BIND_NOW, DF_1_NODELETE and DF_1_NOOPEN marked 2010-12-24 12:41:42 +00:00
README
TODO As per (now closed) PR lib/43581, add a note about unsupported modifications 2010-07-09 17:03:04 +00:00
affinity.3 Sort sections. 2010-07-09 20:58:38 +00:00
pthread.3
pthread.c Rework TLS initialisation: 2011-03-30 00:03:26 +00:00
pthread.h Add pthread_getattr_np() 2010-08-06 05:25:02 +00:00
pthread_attr.3 Update conformance to the 2001 revision. 2010-07-09 08:51:28 +00:00
pthread_attr.c move namespace protection before inclusion. 2010-08-06 15:21:50 +00:00
pthread_attr_get_np.3 document pthread_getattr_np 2010-08-06 05:35:42 +00:00
pthread_attr_getdetachstate.3 Update conformance to the 2001 revision. 2010-07-09 08:51:28 +00:00
pthread_attr_getguardsize.3 Whitespace nit. 2010-07-08 18:24:34 +00:00
pthread_attr_getinheritsched.3 Sort sections. 2010-07-08 18:15:27 +00:00
pthread_attr_getname_np.3 Add missing prototypes. Noted by wiz@ -- thanks. 2010-07-09 10:55:57 +00:00
pthread_attr_getschedparam.3 Group also pthread_attr_getschedparam(3) and pthread_attr_getschedpolicy(3), 2010-07-08 22:19:26 +00:00
pthread_attr_getscope.3 Add missing list end. 2010-07-07 10:22:33 +00:00
pthread_attr_getstack.3 Note also alignment via mmap(2), as done in NetBSD. 2010-07-09 17:15:59 +00:00
pthread_attr_setcreatesuspend_np.3 Add the last compatibility note for the NetBSD extensions. 2010-07-09 09:10:34 +00:00
pthread_barrier.3 Update ERRORS, tidy SEE ALSO. 2010-07-09 18:07:20 +00:00
pthread_barrier.c
pthread_barrierattr.3 Add missing word. 2010-07-09 10:45:36 +00:00
pthread_cancel.3 Rewrite this for clarity. Also remove AUTHORS; someone was proud enough to 2010-07-09 11:03:26 +00:00
pthread_cancelstub.c make the code more re-usable 2011-01-26 18:48:57 +00:00
pthread_cleanup_push.3 Update conformance to the 2001 revision. 2010-07-09 08:51:28 +00:00
pthread_compat.c
pthread_cond.3 Fix typo. 2010-07-09 20:56:01 +00:00
pthread_cond.c Spell immediately correctly. 2010-11-02 20:49:47 +00:00
pthread_condattr.3 Re-add EINVAL for pthread_condattr_destroy(3) (misread the pthread__error()). 2010-07-09 17:54:08 +00:00
pthread_create.3 Update conformance to the 2001 revision. 2010-07-09 08:51:28 +00:00
pthread_detach.3 Update conformance to the 2001 revision. 2010-07-09 08:51:28 +00:00
pthread_equal.3 Update conformance to the 2001 revision. 2010-07-09 08:51:28 +00:00
pthread_exit.3 Update conformance to the 2001 revision. 2010-07-09 08:51:28 +00:00
pthread_getname_np.3 Rationalize by moving 2010-07-09 07:31:01 +00:00
pthread_getspecific.3 Mark up NULL, remove double space. 2010-07-09 10:49:48 +00:00
pthread_int.h Add __HAVE___LWP_GETTCB_FAST support (for mips and powerpc). 2011-03-17 00:43:48 +00:00
pthread_join.3 Mark up NULL. 2010-07-09 10:55:11 +00:00
pthread_key_create.3 Mark up NULL. 2010-07-09 10:55:11 +00:00
pthread_kill.3 Update conformance to the 2001 revision. 2010-07-09 08:51:28 +00:00
pthread_lock.c
pthread_misc.c
pthread_mutex.3 Mark up NULL. 2010-07-09 10:55:11 +00:00
pthread_mutex.c
pthread_mutexattr.3 .Xr instaed of .Fn for pthread_mutex_init(3), update the error codes, 2010-07-08 22:46:34 +00:00
pthread_once.3 Update conformance to the 2001 revision. 2010-07-09 08:51:28 +00:00
pthread_queue.h
pthread_rwlock.3 Mark up NULL. 2010-07-09 10:55:11 +00:00
pthread_rwlock.c
pthread_rwlockattr.3 Update conformance to the 2001 revision. 2010-07-09 08:51:28 +00:00
pthread_schedparam.3 Update conformance to the 2001 revision. 2010-07-09 08:51:28 +00:00
pthread_self.3 Update conformance to the 2001 revision. 2010-07-09 08:51:28 +00:00
pthread_sigmask.3 Mark up NULL. 2010-07-09 10:55:11 +00:00
pthread_specific.c
pthread_spin.3 Mark up NULL. 2010-07-09 10:55:11 +00:00
pthread_spin.c
pthread_suspend_np.3 Fix the return values; pthread_resume_np() may fail with ESRCH. In addition, 2010-07-09 09:18:45 +00:00
pthread_testcancel.3 Fix typo. 2010-08-06 06:29:38 +00:00
pthread_tsd.c
pthread_types.h
res_state.c
sem.c
shlib_version

README

$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.

Due to limitations in the current pthread implementation, makecontext(3)
and sigaltstack(2) should not be used in programs which link against
libpthread (whether threads are used or not). This has been noted in the
makecontext(3), sigaltstack(2), and pthread(3) man pages.