freebsd-skq/lib/libpthread/thread
John Birrell d60f0fa60d Change the FILE locking to be by FILE, not by the underlying fd as
it was. Add a FILE_WAIT state and queue threads waiting for a FILE
lock. Start using the sys/queue.h macros instead of the way that MIT
pthreads did it.

Add a thread name to the private thread structure and a non-POSIX
function to set this. This helps (me at least) when sending a SIGINFO
to a threaded process to get a /tmp/uthread.dump to see what the
<expletive deleted> threads are doing this time. It is nice to be
able to recognise (yes, I spell that with an 's' too) which threads
are which.
1998-04-11 07:47:22 +00:00
..
Makefile.inc Added missing source file uthread_sigwait.c. 1997-11-24 23:04:29 +00:00
thr_attr_destroy.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
thr_attr_getdetachstate.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
thr_attr_getstackaddr.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
thr_attr_getstacksize.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
thr_attr_init.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
thr_attr_setcreatesuspend_np.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
thr_attr_setdetachstate.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
thr_attr_setstackaddr.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
thr_attr_setstacksize.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
thr_clean.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
thr_close.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
thr_cond.c Enable static initialisation of mutexes and condition variables. 1998-04-04 11:33:01 +00:00
thr_condattr_destroy.c Modify the return values to comply with POSIX. Previously these 1997-11-25 01:29:16 +00:00
thr_condattr_init.c Modify the return values to comply with POSIX. Previously these 1997-11-25 01:29:16 +00:00
thr_create.c Change the FILE locking to be by FILE, not by the underlying fd as 1998-04-11 07:47:22 +00:00
thr_detach.c Add a magic field to the pthread structure to help recognize valid 1998-04-03 09:31:15 +00:00
thr_equal.c Reviewed by: julian 1996-01-22 00:23:58 +00:00
thr_exit.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
thr_fcntl.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
thr_fork.c Fix a problem of indirection unblocking signals that would have caused 1998-03-22 04:13:23 +00:00
thr_fsync.c Reviewed by: julian 1996-01-22 00:23:58 +00:00
thr_getprio.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
thr_info.c Change the FILE locking to be by FILE, not by the underlying fd as 1998-04-11 07:47:22 +00:00
thr_init.c Fixes from Jeremy Allison and Terry Lambert for pthreads: 1998-02-13 01:27:34 +00:00
thr_join.c Add a magic field to the pthread structure to help recognize valid 1998-04-03 09:31:15 +00:00
thr_kern.c Change the FILE locking to be by FILE, not by the underlying fd as 1998-04-11 07:47:22 +00:00
thr_kill.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
thr_mattr_init.c Modify the return values to comply with POSIX. Previously these 1997-11-25 01:29:16 +00:00
thr_mattr_kind_np.c Add pthread_mutexattr_init() and pthread_mutexattr_setkind_np(). 1996-11-11 09:09:30 +00:00
thr_multi_np.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
thr_mutex.c Enable static initialisation of mutexes and condition variables. 1998-04-04 11:33:01 +00:00
thr_mutexattr_destroy.c Modify the return values to comply with POSIX. Previously these 1997-11-25 01:29:16 +00:00
thr_nanosleep.c Bring back nanosleep from the cold. 1997-06-04 13:03:12 +00:00
thr_once.c Reviewed by: julian 1996-01-22 00:23:58 +00:00
thr_open.c Use libc makefiles from now on instead of duplicating them in libc_r. 1997-05-03 03:57:21 +00:00
thr_private.h Change the FILE locking to be by FILE, not by the underlying fd as 1998-04-11 07:47:22 +00:00
thr_read.c Add parentheses to make blocking mode work. 1997-04-01 22:44:18 +00:00
thr_readv.c Add parentheses to make blocking mode work. 1997-04-01 22:44:18 +00:00
thr_resume_np.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
thr_select.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
thr_self.c Reviewed by: julian 1996-01-22 00:23:58 +00:00
thr_seterrno.c Reviewed by: julian 1996-01-22 00:23:58 +00:00
thr_setprio.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
thr_sig.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
thr_sigaction.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
thr_sigmask.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
thr_sigprocmask.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
thr_sigsuspend.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
thr_sigwait.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
thr_single_np.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
thr_spec.c Modify the return values to comply with POSIX. Previously these 1997-11-25 01:29:16 +00:00
thr_suspend_np.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
thr_wait4.c Reviewed by: julian 1996-01-22 00:23:58 +00:00
thr_write.c Fixes from Jeremy Allison and Terry Lambert for pthreads: 1998-02-13 01:27:34 +00:00
thr_writev.c Fixes from Jeremy Allison and Terry Lambert for pthreads: 1998-02-13 01:27:34 +00:00
thr_yield.c Add sched_yield() witch is the draft 10 equivalent of pthread_yield() 1998-03-08 02:37:27 +00:00