NetBSD/lib/libpthread
joerg b7b592d544 Back out using the thread register (if present) for now.
libgcc_s's __register_frame_info gets called from libc's CSU code before
the libc constructors are run. __register_frame_info in turn calls
pthread_mutex_lock. libpthread is not initialised at this point and
therefore pthread__self() traps when deferencing the thread register.
This worked before because the garbage from pthread__self() is
effectively ignored.
2011-02-25 14:32:38 +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 Add CAVEATS section: 2009-04-16 18:37:29 +00:00
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 Add the Butenhof's book to SEE ALSO. (It was decent enough when I read it 2010-05-16 12:23:32 +00:00
pthread.c use pthread__stacksize since size has not been initialized yet. 2010-12-22 22:41:45 +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_barrier: Fix numerous stupid bugs. Surprising that nobody 2009-01-29 21:19:35 +00:00
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 Adjust the compat stuff slightly so that the changes are mostly self 2008-10-08 08:27:07 +00:00
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 Back out using the thread register (if present) for now. 2011-02-25 14:32:38 +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 Make nanosleep cancelable again. 2009-08-12 23:51:23 +00:00
pthread_mutex.3 Mark up NULL. 2010-07-09 10:55:11 +00:00
pthread_mutex.c Change pthread_mutex_t to use the amount of space as and be congruent to 2008-08-02 19:46:30 +00:00
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 Add check to avoid multiple inclusions and redefinitions. 2009-10-05 23:33:48 +00:00
pthread_rwlock.3 Mark up NULL. 2010-07-09 10:55:11 +00:00
pthread_rwlock.c remove ; after __weak_alias() 2008-10-25 14:14:11 +00:00
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 Change pthread_mutex_t to use the amount of space as and be congruent to 2008-08-02 19:46:30 +00:00
res_state.c
sem.c Replace semid_t with intptr_t. No function change. This is a libc/kernel 2008-11-14 15:49:20 +00:00
shlib_version merge christos-time_t 2009-01-11 02:45:45 +00:00

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.