freebsd-skq/lib/libc_r/uthread
jb 6c9ee23acc Change signal model to match POSIX (i.e. one set of signal handlers
for the process, not a separate set for each thread). By default, the
process now only has signal handlers installed for SIGVTALRM, SIGINFO
and SIGCHLD. The thread kernel signal handler is installed for other
signals on demand. This means that SIG_IGN and SIG_DFL processing is now
left to the kernel, not the thread kernel.

Change the signal dispatch to no longer use a signal thread, and
call the signal handler using the stack of the thread that has the
signal pending.

Change the atomic lock method to use test-and-set asm code with
a yield if blocked. This introduces separate locks for each type
of object instead of blocking signals to prevent a context
switch. It was this blocking of signals that caused the performance
degradation the people have noted.

This is a *big* change!
1998-04-29 09:59:34 +00:00
..
Makefile.inc Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
pthread_private.h Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_accept.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_attr_destroy.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
uthread_attr_getdetachstate.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
uthread_attr_getstackaddr.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
uthread_attr_getstacksize.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
uthread_attr_init.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
uthread_attr_setcreatesuspend_np.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_attr_setdetachstate.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
uthread_attr_setprio.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_attr_setstackaddr.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
uthread_attr_setstacksize.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
uthread_autoinit.cc Added a new module "uthread_autoinit.cc". This is a small C++ module. 1996-02-17 02:19:37 +00:00
uthread_bind.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_clean.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
uthread_close.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_cond.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_condattr_destroy.c Modify the return values to comply with POSIX. Previously these 1997-11-25 01:29:16 +00:00
uthread_condattr_init.c Modify the return values to comply with POSIX. Previously these 1997-11-25 01:29:16 +00:00
uthread_connect.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_create.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_detach.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_dup2.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_dup.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_equal.c Reviewed by: julian 1996-01-22 00:23:58 +00:00
uthread_execve.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_exit.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_fchmod.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_fchown.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_fcntl.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_fd.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_file.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_find_thread.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_flock.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_fork.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_fstat.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_fstatfs.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_fsync.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_getdirentries.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_getpeername.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_getprio.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_getsockname.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_getsockopt.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_info.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_init.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_ioctl.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_join.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_kern.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_kill.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_listen.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_mattr_init.c Modify the return values to comply with POSIX. Previously these 1997-11-25 01:29:16 +00:00
uthread_mattr_kind_np.c Add pthread_mutexattr_init() and pthread_mutexattr_setkind_np(). 1996-11-11 09:09:30 +00:00
uthread_multi_np.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_mutex.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_mutexattr_destroy.c Modify the return values to comply with POSIX. Previously these 1997-11-25 01:29:16 +00:00
uthread_nanosleep.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_once.c Reviewed by: julian 1996-01-22 00:23:58 +00:00
uthread_open.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_pipe.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_queue.c Reviewed by: julian 1996-01-22 00:23:58 +00:00
uthread_read.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_readv.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_recvfrom.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_resume_np.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_select.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_self.c Reviewed by: julian 1996-01-22 00:23:58 +00:00
uthread_sendto.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_seterrno.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_setprio.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_setsockopt.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_shutdown.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_sig.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_sigaction.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_sigblock.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_sigmask.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_signal.c Reviewed by: julian 1996-01-22 00:23:58 +00:00
uthread_sigprocmask.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_sigsetmask.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_sigsuspend.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_sigwait.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_single_np.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_socket.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_socketpair.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_spec.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_spinlock.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_suspend_np.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_wait4.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_write.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_writev.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
uthread_yield.c Add sched_yield() witch is the draft 10 equivalent of pthread_yield() 1998-03-08 02:37:27 +00:00