NetBSD/lib/libpthread
rmind b5e9addd22 sched_setparam: fix the case when incorrect (according to the class)
in-kernel priority is used.  Reported by <drochner>.

Minor fixes for scheduling calls to conform the POSIX:
- If pid is equal to zero, use the calling process;
- In case of permission problem, return EPERM instead of EACESS;
- sched_setscheduler() should return previously used policy;
- pthread_* calls should return the error code or zero;

Should fix the namespace problems (and builds of some packages):
- Move cpuset_t defintion from pset.h to sched.h;
- Remove the #include of pset.h in pthread.h;
2008-01-26 17:55:29 +00:00
..
arch Mutexes: 2007-11-13 17:20:08 +00:00
Makefile Implementation of processor-sets, affinity and POSIX real-time extensions. 2008-01-15 03:37:10 +00:00
pthread_attr_getname_np.3 document following functions. 2007-12-14 21:51:21 +00:00
pthread_attr_setcreatesuspend_np.3
pthread_attr_setname_np.3 document following functions. 2007-12-14 21:51:21 +00:00
pthread_attr.3 Use more markup. New sentence, new line. 2007-12-01 19:03:26 +00:00
pthread_attr.c add missing static decls. 2008-01-08 20:56:08 +00:00
pthread_barrier_destroy.3
pthread_barrier_init.3
pthread_barrier_wait.3
pthread_barrier.c Remove the debuglog stuff. ktrace is more useful now. 2007-11-19 15:14:11 +00:00
pthread_barrierattr.3
pthread_cancel.3
pthread_cancelstub.c - Use pthread__cancelled() in more places. 2007-12-24 16:04:20 +00:00
pthread_cleanup_push.3
pthread_cond_broadcast.3
pthread_cond_destroy.3
pthread_cond_init.3
pthread_cond_wait.3
pthread_cond.c - Use pthread__cancelled() in more places. 2007-12-24 16:04:20 +00:00
pthread_condattr.3
pthread_create.3
pthread_detach.3
pthread_equal.3
pthread_exit.3
pthread_getname_np.3 document following functions. 2007-12-14 21:51:21 +00:00
pthread_getspecific.3
pthread_int.h add missing static decls. 2008-01-08 20:56:08 +00:00
pthread_join.3
pthread_key_create.3
pthread_key_delete.3
pthread_kill.3
pthread_lock.c machine/lock.h, not sys/lock.h 2008-01-05 01:37:35 +00:00
pthread_misc.c sched_setparam: fix the case when incorrect (according to the class) 2008-01-26 17:55:29 +00:00
pthread_mutex2.c - Fix pthread_rwlock_trywrlock() which was broken. 2007-12-24 14:46:28 +00:00
pthread_mutex_destroy.3
pthread_mutex_init.3
pthread_mutex_lock.3
pthread_mutex_unlock.3
pthread_mutex.c Make this compile after Andrew's fix (remove now-unused variables) 2008-01-25 02:12:10 +00:00
pthread_mutexattr.3 Fixed spelling error. 2007-04-17 21:11:47 +00:00
pthread_once.3
pthread_queue.h
pthread_rwlock2.c - Fix pthread_rwlock_trywrlock() which was broken. 2007-12-24 14:46:28 +00:00
pthread_rwlock_destroy.3
pthread_rwlock_init.3
pthread_rwlock_rdlock.3
pthread_rwlock_unlock.3
pthread_rwlock_wrlock.3
pthread_rwlock.c no semis after weak alias. 2008-01-08 20:55:25 +00:00
pthread_rwlockattr.3
pthread_schedparam.3
pthread_self.3
pthread_setname_np.3 document following functions. 2007-12-14 21:51:21 +00:00
pthread_setspecific.3
pthread_sigmask.3
pthread_specific.c cast -1 to unsigned int. 2008-01-08 20:55:58 +00:00
pthread_spin_destroy.3
pthread_spin_init.3
pthread_spin_lock.3
pthread_spin_unlock.3
pthread_spin.c machine/lock.h, not sys/lock.h 2008-01-05 01:37:35 +00:00
pthread_suspend_np.3
pthread_testcancel.3
pthread_tsd.c - Fix pthread_rwlock_trywrlock() which was broken. 2007-12-24 14:46:28 +00:00
pthread_types.h - Don't take the mutex's spinlock (ptr_interlock) in pthread_cond_wait(). 2007-09-07 14:09:27 +00:00
pthread.3 Sync with reality, and note that programs must link against the dynamic 2007-11-19 15:53:20 +00:00
pthread.c add missing static decls. 2008-01-08 20:56:08 +00:00
pthread.h sched_setparam: fix the case when incorrect (according to the class) 2008-01-26 17:55:29 +00:00
README Note that libpthread_dbg needs to be checked after making changes to 2007-10-16 15:21:54 +00:00
res_state.c For PR bin/37347: 2007-11-13 15:57:10 +00:00
sched_yield.3
sem.c - Use pthread__cancelled() in more places. 2007-12-24 16:04:20 +00:00
shlib_version - Fix pthread_rwlock_trywrlock() which was broken. 2007-12-24 14:46:28 +00:00
TODO Update. 2007-12-24 14:30:09 +00:00

$NetBSD: README,v 1.5 2007/10/16 15:21:54 ad Exp $

When making changes to libpthread, please ensure that libpthread_dbg
still compiles.