freebsd-dev/lib/libpthread/thread
Alfred Perlstein 7285bccf1a add pthread_cancel, obtained from OpenBSD.
eischen (Daniel Eischen) added wrappers to protect against cancled
threads orphaning internal resources.

the cancelability code is still a bit fuzzy but works for test
programs of my own, OpenBSD's and some examples from ORA's books.

add readdir_r to both libc and libc_r

add some 'const' attributes to function parameters

Reviewed by: eischen, jasone
1999-11-28 05:38:13 +00:00
..
Makefile.inc add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_attr_destroy.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_attr_getdetachstate.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_attr_getinheritsched.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_attr_getschedparam.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_attr_getschedpolicy.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_attr_getscope.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_attr_getstackaddr.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_attr_getstacksize.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_attr_init.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_attr_setcreatesuspend_np.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_attr_setdetachstate.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_attr_setinheritsched.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_attr_setschedparam.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_attr_setschedpolicy.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_attr_setscope.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_attr_setstackaddr.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_attr_setstacksize.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_cancel.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_clean.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_close.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_cond.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_condattr_destroy.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_condattr_init.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_create.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_detach.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_equal.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_exit.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_fcntl.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_find_thread.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_fork.c sigset_t change (part 5 of 5) 1999-09-29 15:18:46 +00:00
thr_fsync.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_gc.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_getprio.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_getschedparam.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_info.c sigset_t change (part 5 of 5) 1999-09-29 15:18:46 +00:00
thr_init.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_join.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_kern.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_kill.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_mattr_init.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_mattr_kind_np.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_msync.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_multi_np.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_mutex_prioceiling.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_mutex_protocol.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_mutex.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_mutexattr_destroy.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_nanosleep.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_once.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_open.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_poll.c When checking for valid timevals in the wrapped select() and poll() 1999-08-30 00:02:08 +00:00
thr_priority_queue.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_private.h add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_read.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_readv.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_resume_np.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_rwlock.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_rwlockattr.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_select.c When checking for valid timevals in the wrapped select() and poll() 1999-08-30 00:02:08 +00:00
thr_self.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_seterrno.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_setprio.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_setschedparam.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_sig.c sigset_t change (part 5 of 5) 1999-09-29 15:18:46 +00:00
thr_sigaction.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_sigmask.c sigset_t change (part 5 of 5) 1999-09-29 15:18:46 +00:00
thr_sigpending.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_sigprocmask.c sigset_t change (part 5 of 5) 1999-09-29 15:18:46 +00:00
thr_sigsuspend.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_sigwait.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_single_np.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_spec.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_spinlock.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_suspend_np.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_switch_np.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_vfork.c In libc_r, rename vfork syscall to _thread_sys_vfork and make vfork an alias 1998-09-12 22:03:20 +00:00
thr_wait4.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_write.c add pthread_cancel, obtained from OpenBSD. 1999-11-28 05:38:13 +00:00
thr_writev.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
thr_yield.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00