freebsd-dev/lib/libc_r/uthread
Daniel Eischen d8b5986dd6 Remove much of the dereferencing of the fd table entries to look
at file flags and replace it with functions that will avoid null
pointer checks.

MFC to be done by archie ;-)

PR:		42100
Reviewed by:	archie, robert
MFC after:	3 days
2002-08-29 23:06:07 +00:00
..
Makefile.inc Add a wrapper for pselect() in order to make it a cancellation point. 2002-06-28 13:26:02 +00:00
pthread_private.h Remove much of the dereferencing of the fd table entries to look 2002-08-29 23:06:07 +00:00
uthread_accept.c Remove much of the dereferencing of the fd table entries to look 2002-08-29 23:06:07 +00:00
uthread_acl_aclcheck_fd.c Instead of using a join queue for each thread, use a single pointer to 2001-05-20 23:08:33 +00:00
uthread_acl_delete_fd.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_acl_get_fd.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_acl_set_fd.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_aio_suspend.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_attr_destroy.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_attr_getdetachstate.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_attr_getguardsize.c Implement pthread_attr_[gs]etguardsize(). Non-default-size stacks used to 2001-07-20 04:23:11 +00:00
uthread_attr_getinheritsched.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_attr_getschedparam.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_attr_getschedpolicy.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_attr_getscope.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_attr_getstackaddr.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_attr_getstacksize.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_attr_init.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_attr_setcreatesuspend_np.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_attr_setdetachstate.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_attr_setguardsize.c Undo namespace pollution by prefixing the globals pthread_guard_default and 2002-05-15 05:37:48 +00:00
uthread_attr_setinheritsched.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_attr_setschedparam.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_attr_setschedpolicy.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_attr_setscope.c Correct a typo pthread_attr_setscope() function fails unconditionally 2002-02-14 15:20:36 +00:00
uthread_attr_setstackaddr.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_attr_setstacksize.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_autoinit.c Use GCC's __attribute__ ((constructor)) mechanism to invoke the pthread 2002-05-11 08:13:42 +00:00
uthread_bind.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_cancel.c Revamp suspend and resume. While I'm here add pthread_suspend_all_np() 2002-05-24 04:32:28 +00:00
uthread_clean.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_close.c Remove much of the dereferencing of the fd table entries to look 2002-08-29 23:06:07 +00:00
uthread_cond.c Revamp suspend and resume. While I'm here add pthread_suspend_all_np() 2002-05-24 04:32:28 +00:00
uthread_condattr_destroy.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_condattr_init.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_connect.c Remove much of the dereferencing of the fd table entries to look 2002-08-29 23:06:07 +00:00
uthread_creat.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_create.c Oops, forgot to set the suspended flag for threads that are created 2002-07-09 13:24:52 +00:00
uthread_detach.c Properly clear the status of a join operation if the joining thread is 2002-03-06 19:28:41 +00:00
uthread_dup2.c Remove much of the dereferencing of the fd table entries to look 2002-08-29 23:06:07 +00:00
uthread_dup.c Remove much of the dereferencing of the fd table entries to look 2002-08-29 23:06:07 +00:00
uthread_equal.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_execve.c Remove much of the dereferencing of the fd table entries to look 2002-08-29 23:06:07 +00:00
uthread_exit.c Remove much of the dereferencing of the fd table entries to look 2002-08-29 23:06:07 +00:00
uthread_fchflags.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_fchmod.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_fchown.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_fcntl.c Remove much of the dereferencing of the fd table entries to look 2002-08-29 23:06:07 +00:00
uthread_fd.c Remove much of the dereferencing of the fd table entries to look 2002-08-29 23:06:07 +00:00
uthread_file.c Remove (int) file descriptor locking. It should be up to the 2001-02-11 22:07:32 +00:00
uthread_find_thread.c Fix a race condition in pthread_join(). All of the following must occur 2001-06-27 11:41:15 +00:00
uthread_flock.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_fork.c Add the ability to recognize old references to keys, and return NULL 2002-03-19 22:58:56 +00:00
uthread_fpathconf.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_fstat.c Compensate for "Compensate for header dethreading" by backing it out. 2001-10-10 17:48:44 +00:00
uthread_fstatfs.c Compensate for "Compensate for header dethreading" by backing it out. 2001-10-10 17:48:44 +00:00
uthread_fsync.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_gc.c Implement pthread_attr_[gs]etguardsize(). Non-default-size stacks used to 2001-07-20 04:23:11 +00:00
uthread_getdirentries.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_getpeername.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_getprio.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_getschedparam.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_getsockname.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_getsockopt.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_info.c Make the name parameter const char *. 2001-08-11 05:16:00 +00:00
uthread_init.c Revamp suspend and resume. While I'm here add pthread_suspend_all_np() 2002-05-24 04:32:28 +00:00
uthread_ioctl.c Remove much of the dereferencing of the fd table entries to look 2002-08-29 23:06:07 +00:00
uthread_jmp.c Compensate for "Compensate for header dethreading" by backing it out. 2001-10-10 17:48:44 +00:00
uthread_join.c Fix pthread_join so that it works if the target thread exits while 2001-11-17 14:28:39 +00:00
uthread_kern.c When poll(2)'ing for readability or writability of a file descriptor 2002-08-29 00:44:11 +00:00
uthread_kevent.c Prevent infinite loop, when kevent(2) is called wihout eventlist (i.e. 2001-12-08 00:53:37 +00:00
uthread_kill.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_listen.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_main_np.c The GCC developers have made good on their threats against #pragma for 3.1. 2002-04-15 23:11:38 +00:00
uthread_mattr_init.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_mattr_kind_np.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_msync.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_multi_np.c Revamp suspend and resume. While I'm here add pthread_suspend_all_np() 2002-05-24 04:32:28 +00:00
uthread_mutex_prioceiling.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_mutex_protocol.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_mutex.c Revamp suspend and resume. While I'm here add pthread_suspend_all_np() 2002-05-24 04:32:28 +00:00
uthread_mutexattr_destroy.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_nanosleep.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_once.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_open.c Typo; fix open() so that it is not a cancellation point when called 2001-04-18 12:42:11 +00:00
uthread_pause.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_pipe.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_poll.c Make these functions cancellation points like they should be: 2002-05-02 19:58:43 +00:00
uthread_priority_queue.c Revamp suspend and resume. While I'm here add pthread_suspend_all_np() 2002-05-24 04:32:28 +00:00
uthread_pselect.c Add a wrapper for pselect() in order to make it a cancellation point. 2002-06-28 13:26:02 +00:00
uthread_read.c Remove much of the dereferencing of the fd table entries to look 2002-08-29 23:06:07 +00:00
uthread_readv.c Remove much of the dereferencing of the fd table entries to look 2002-08-29 23:06:07 +00:00
uthread_recvfrom.c Remove much of the dereferencing of the fd table entries to look 2002-08-29 23:06:07 +00:00
uthread_recvmsg.c Remove much of the dereferencing of the fd table entries to look 2002-08-29 23:06:07 +00:00
uthread_resume_np.c Revamp suspend and resume. While I'm here add pthread_suspend_all_np() 2002-05-24 04:32:28 +00:00
uthread_rwlock.c Fix the return code from pthread_rwlock_try[rw|rd]lock() functions; 2002-03-15 18:27:58 +00:00
uthread_rwlockattr.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_select.c Make the libc_r version of select() set the readable or writable 2002-08-29 21:39:19 +00:00
uthread_self.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_sem.c Condition variable waiters are queued in descending priority order, so 2001-05-18 00:36:05 +00:00
uthread_sendfile.c Remove much of the dereferencing of the fd table entries to look 2002-08-29 23:06:07 +00:00
uthread_sendmsg.c Remove much of the dereferencing of the fd table entries to look 2002-08-29 23:06:07 +00:00
uthread_sendto.c Remove much of the dereferencing of the fd table entries to look 2002-08-29 23:06:07 +00:00
uthread_seterrno.c Add weak definitions for wrapped system calls. In general: 2001-01-24 13:03:38 +00:00
uthread_setprio.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_setschedparam.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_setsockopt.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_shutdown.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_sig.c Remove much of the dereferencing of the fd table entries to look 2002-08-29 23:06:07 +00:00
uthread_sigaction.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_sigmask.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_sigpending.c Make sigpending and sigsuspend account for signals that are pending on 2002-06-28 13:28:41 +00:00
uthread_sigprocmask.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_sigsuspend.c Make sigpending and sigsuspend account for signals that are pending on 2002-06-28 13:28:41 +00:00
uthread_sigwait.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_single_np.c Revamp suspend and resume. While I'm here add pthread_suspend_all_np() 2002-05-24 04:32:28 +00:00
uthread_sleep.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_socket.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_socketpair.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_spec.c Add the ability to recognize old references to keys, and return NULL 2002-03-19 22:58:56 +00:00
uthread_spinlock.c Revamp suspend and resume. While I'm here add pthread_suspend_all_np() 2002-05-24 04:32:28 +00:00
uthread_stack.c Undo namespace pollution by prefixing the globals pthread_guard_default and 2002-05-15 05:37:48 +00:00
uthread_suspend_np.c Revamp suspend and resume. While I'm here add pthread_suspend_all_np() 2002-05-24 04:32:28 +00:00
uthread_switch_np.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_system.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_tcdrain.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_vfork.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_wait4.c Make these functions cancellation points like they should be: 2002-05-02 19:58:43 +00:00
uthread_wait.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_waitpid.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00
uthread_write.c Remove much of the dereferencing of the fd table entries to look 2002-08-29 23:06:07 +00:00
uthread_writev.c Remove much of the dereferencing of the fd table entries to look 2002-08-29 23:06:07 +00:00
uthread_yield.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:19:21 +00:00