NetBSD/lib/libpthread
rin e3331ab957 libpthread sets initial value of MSR for lwp's. However, appropriate
value differs b/w oea/booke/ibm4xx, and there's no way to obtain it
from userland. Therefore, this initial value should be corrected by
cpu_setmcontext().

- Comment this in libpthread
- Add KASSERT in cpu_mcontext_validate()
2020-02-20 07:07:02 +00:00
..
arch libpthread sets initial value of MSR for lwp's. However, appropriate 2020-02-20 07:07:02 +00:00
Makefile Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da) 2019-11-11 22:44:56 +00:00
README libpthread_dbg(3) deletion from the base distribution 2017-02-08 03:44:40 +00:00
TODO Export the guard size of the main thread via vm.guard_size. Add a 2017-07-02 16:41:32 +00:00
affinity.3
call_once.3 Fix some typos, improve wording. 2019-04-27 10:57:11 +00:00
call_once.c Drop error path from C11 call_once 2019-04-24 21:41:15 +00:00
cnd.3 Fix some typos, improve wording. 2019-04-27 10:57:11 +00:00
cnd.c Add a complete C11 threads(3) implementation 2019-04-24 11:43:19 +00:00
mtx.3 Fix some typos, improve wording. 2019-04-27 10:57:11 +00:00
mtx.c Add a complete C11 threads(3) implementation 2019-04-24 11:43:19 +00:00
pthread.3 Remove superfluous Tn. 2017-10-23 01:03:23 +00:00
pthread.c Revert "Enhance the pthread(3) + malloc(3) init model" 2020-02-16 17:45:11 +00:00
pthread.h Remove namespace restriction from pthread_condattr_{g,s}etclock(3) 2018-02-20 05:10:51 +00:00
pthread_attr.3
pthread_attr.c Use the pta_magic field in pthread attribute 2020-01-29 13:47:31 +00:00
pthread_attr_get_np.3 Add pthread_getattr_np to the NAME section 2017-10-22 15:44:21 +00:00
pthread_attr_getdetachstate.3 Remove superfluous Tn. 2017-10-23 01:03:23 +00:00
pthread_attr_getguardsize.3 Add missing function names in the NAME section for rest of the man pages in libpthread 2017-10-22 16:37:24 +00:00
pthread_attr_getinheritsched.3 Add missing function names in the NAME section for rest of the man pages in libpthread 2017-10-22 16:37:24 +00:00
pthread_attr_getname_np.3 Add missing function names in the NAME section for rest of the man pages in libpthread 2017-10-22 16:37:24 +00:00
pthread_attr_getschedparam.3 Add missing function names in the NAME section for rest of the man pages in libpthread 2017-10-22 16:37:24 +00:00
pthread_attr_getscope.3 Remove superfluous Tn. 2017-10-23 01:03:23 +00:00
pthread_attr_getstack.3 Remove superfluous Tn. 2017-10-23 01:03:23 +00:00
pthread_attr_setcreatesuspend_np.3
pthread_barrier.3 Remove description of pthread_barrierattr_getpshared and pthread_barrierattr_setpshared 2017-10-22 16:15:02 +00:00
pthread_barrier.c Use pthread_barrierattr_t and pthread_barrier_t magic fields 2020-01-29 14:41:57 +00:00
pthread_barrierattr.3 All the four functions described in the man page conform to POSIX.1 2017-10-22 18:37:01 +00:00
pthread_cancel.3
pthread_cancelstub.c
pthread_cleanup_push.3
pthread_compat.c Revert last 2 updates - these are, of course, not needed at all... 2017-12-08 09:59:26 +00:00
pthread_cond.3 PR lib/53477 (rudolf at eq.cz) - correct an obvious mistake. 2018-07-28 14:00:19 +00:00
pthread_cond.c Use pthread_condattr_t and pthread_cond_t magic fields 2020-01-29 15:07:46 +00:00
pthread_condattr.3 Remove outdated CAVEATS. 2017-03-28 17:42:52 +00:00
pthread_create.3
pthread_curcpu_np.3
pthread_detach.3
pthread_equal.3
pthread_exit.3
pthread_getcpuclockid.3 Fix man page ERRORS section for (clock,pthread}_getcpuclockid to match 2017-03-05 18:42:51 +00:00
pthread_getcpuclockid.c Chack thread->pt_magic with PT_MAGIC promptly 2020-01-29 16:03:44 +00:00
pthread_getname_np.3 Add missing function names in the NAME section for rest of the man pages in libpthread 2017-10-22 16:37:24 +00:00
pthread_getspecific.3 Add missing function names in the NAME section for rest of the man pages in libpthread 2017-10-22 16:37:24 +00:00
pthread_int.h Revert "Enhance the pthread(3) + malloc(3) init model" 2020-02-16 17:45:11 +00:00
pthread_join.3
pthread_key_create.3 Add missing function names in the NAME section for rest of the man pages in libpthread 2017-10-22 16:37:24 +00:00
pthread_kill.3
pthread_lock.c
pthread_makelwp.h
pthread_makelwp_netbsd.c
pthread_misc.c Check thread->pt_magic with PT_MAGIC promptly 2020-01-29 16:34:09 +00:00
pthread_mutex.3 s/sucess/success/ in comment. 2019-12-27 09:45:26 +00:00
pthread_mutex.c Revert "Enhance the pthread(3) + malloc(3) init model" 2020-02-16 17:45:11 +00:00
pthread_mutexattr.3 Fix a typo : pthread_mutexaddr_init -> pthread_mutexattr_init. 2017-02-02 10:48:22 +00:00
pthread_once.3
pthread_once.c
pthread_queue.h
pthread_rwlock.3 Add missing function names in the NAME section for rest of the man pages in libpthread 2017-10-22 16:37:24 +00:00
pthread_rwlock.c Retire ifdef ERRORCHECK in pthread(3) 2020-02-05 11:05:10 +00:00
pthread_rwlockattr.3
pthread_schedparam.3 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
pthread_self.3 Remove superfluous Tn. 2017-10-23 01:03:23 +00:00
pthread_sigmask.3
pthread_specific.c
pthread_spin.3 Add missing function names in the NAME section for rest of the man pages in libpthread 2017-10-22 16:37:24 +00:00
pthread_spin.c Retire ifdef ERRORCHECK in pthread(3) 2020-02-05 11:05:10 +00:00
pthread_suspend_np.3
pthread_testcancel.3
pthread_tsd.c Revert "Enhance the pthread(3) + malloc(3) init model" 2020-02-16 17:45:11 +00:00
pthread_types.h Support <pthread_typs.h> on C89 compilers 2017-09-09 23:21:45 +00:00
res_state.c
shlib_version Bump the libpthread(3) minor number to 4 2019-04-24 13:01:52 +00:00
thrd.3 Fix some typos, improve wording. 2019-04-27 10:57:11 +00:00
thrd.c Switch back _Noreturn to __dead in C11 threads 2019-09-10 22:34:19 +00:00
threads.3 Fix some typos, improve wording. 2019-04-27 10:57:11 +00:00
threads.h Switch back _Noreturn to __dead in C11 threads 2019-09-10 22:34:19 +00:00
tss.3 Fix some typos, improve wording. 2019-04-27 10:57:11 +00:00
tss.c Drop bogus _DIAGASSERT that don't even compile. 2019-12-15 22:32:29 +00:00

README

$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
libpthread (whether threads are used or not). This has been noted in the
makecontext(3), sigaltstack(2), and pthread(3) man pages.