freebsd-dev/lib/libpthread/thread
Dmitrij Tejblum 4b12016bab Fix some bugs in pthread scheduler:
make pthread_yield() more reliable,
  threads always (I hope) preempted at least every 0.1 sec, as intended.

PR:		bin/7744
Submitted by:	"Richard Seaman, Jr." <dick@tar.com>
1998-10-09 19:01:30 +00:00
..
Makefile.inc Move the cleanup code that frees memory allocated for a dead thread from 1998-09-30 06:36:56 +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 Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +00:00
thr_cond.c Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +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 Fix some bugs in pthread scheduler: 1998-10-09 19:01:30 +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 Move the cleanup code that frees memory allocated for a dead thread from 1998-09-30 06:36:56 +00:00
thr_fcntl.c Removed unused variables. 1998-09-07 21:55:01 +00:00
thr_find_thread.c Move the cleanup code that frees memory allocated for a dead thread from 1998-09-30 06:36:56 +00:00
thr_fork.c Cosmetic cleansing. This code requires extra work to keep the garbage 1998-09-30 06:41:16 +00:00
thr_fsync.c Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +00:00
thr_gc.c Debug when an environment variable set, no when it is unset. 1998-09-30 19:17:51 +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 Use snprintf instead of sprintf to avoid long source file paths from 1998-09-30 06:29:54 +00:00
thr_init.c Move the cleanup code that frees memory allocated for a dead thread from 1998-09-30 06:36:56 +00:00
thr_join.c Add the missing {} that caused the function to return ESRCH if it 1998-06-25 00:04:21 +00:00
thr_kern.c Fix some bugs in pthread scheduler: 1998-10-09 19:01:30 +00:00
thr_kill.c Implementation of an additional state called SIGWAIT (with the previous 1998-09-30 06:27:31 +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 Removed unused variables. 1998-09-07 21:55: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 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 - Fix the debug macros. 1998-09-30 06:22:07 +00:00
thr_read.c Check the access mode in the flags before waiting on a read or a write 1998-06-10 22:28:45 +00:00
thr_readv.c Check the access mode in the flags before waiting on a read or a write 1998-06-10 22:28:45 +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_rwlock.c Removed some variable initializations which were unnecessary and divergent 1998-09-07 21:07:59 +00:00
thr_rwlockattr.c -Wall clean. 1998-09-07 19:23:55 +00:00
thr_select.c Update the caller's descriptor masks even if there are none ready for 1998-06-12 02:17:18 +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 Implementation of an additional state called SIGWAIT (with the previous 1998-09-30 06:27:31 +00:00
thr_sigaction.c Don't automatically restart syscalls for the signals that the thread 1998-08-26 20:55:31 +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 Implementation of an additional state called SIGWAIT (with the previous 1998-09-30 06:27:31 +00:00
thr_sigwait.c Implementation of an additional state called SIGWAIT (with the previous 1998-09-30 06:27:31 +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 NULL a pointer after it is freed to avoid trying to free it again. 1998-09-30 06:24:57 +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_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 Change signal model to match POSIX (i.e. one set of signal handlers 1998-04-29 09:59:34 +00:00
thr_write.c Removed unused variables. 1998-09-07 21:55:01 +00:00
thr_writev.c If a short write, only loop if no error. 1998-06-14 09:36:14 +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