freebsd-dev/lib/libpthread/thread
John Birrell 3411c10600 Add support for compile time debug. This is enabled if libc_r is built
with -D_LOCK_DEBUG. This adds the file name and line number to each lock
call and these are stored in the spinlock structure. When using debug
mode, the lock function will check if the thread is trying to lock
something it has already locked. This is not supposed to happen because
the lock will be freed too early.

Without lock debug, libc_r should be smaller and slightly faster.
1998-06-09 23:13:10 +00:00
..
Makefile.inc I shouldn't do things early in the morning. 1998-06-01 02:14:34 +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 Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_cond.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +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 signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_detach.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_equal.c Reviewed by: julian 1996-01-22 00:23:58 +00:00
thr_exit.c POSIX says that pthread_exit() is not allowed to be called from a 1998-06-09 23:08:41 +00:00
thr_fcntl.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_find_thread.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_fork.c Cleanup in the child, not the parent. 1998-05-02 03:42:20 +00:00
thr_fsync.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_getprio.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_info.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_init.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_join.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_kern.c Fix the incremental priority increment. 1998-04-30 21:50:29 +00:00
thr_kill.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +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 Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +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 Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_once.c Reviewed by: julian 1996-01-22 00:23:58 +00:00
thr_open.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_private.h Add compile time thread lock debug support. 1998-06-09 23:02:43 +00:00
thr_read.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_readv.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_resume_np.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_select.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_self.c Reviewed by: julian 1996-01-22 00:23:58 +00:00
thr_seterrno.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_setprio.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_sig.c I got the last commit back to front. 1998-06-06 07:02:27 +00:00
thr_sigaction.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_sigmask.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_sigprocmask.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_sigsuspend.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_sigwait.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +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 Simplify the handling of thread specific data. Only track if a key 1998-06-06 07:24:24 +00:00
thr_spinlock.c Add support for compile time debug. This is enabled if libc_r is built 1998-06-09 23:13:10 +00:00
thr_suspend_np.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_wait4.c Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_write.c When doing a blocking write, keep looping until all the bytes are 1998-05-25 21:45:52 +00:00
thr_writev.c Make a copy of the caller's iovec array, mallocing if necessary, 1998-05-27 00:44:58 +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