freebsd-dev/lib/libc_r/uthread
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
pthread_private.h - Fix the debug macros. 1998-09-30 06:22:07 +00:00
uthread_accept.c Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +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 Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +00:00
uthread_clean.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
uthread_close.c Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +00:00
uthread_cond.c Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +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 Add missing initialization of the length variable passed to 1998-08-12 20:29:29 +00:00
uthread_create.c Fix some bugs in pthread scheduler: 1998-10-09 19:01:30 +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 Don't lock newfd if it is not opened. 1998-09-13 12:48:47 +00:00
uthread_dup.c Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +00:00
uthread_equal.c Reviewed by: julian 1996-01-22 00:23:58 +00:00
uthread_execve.c Fix a comment. 1998-09-30 06:42:29 +00:00
uthread_exit.c Move the cleanup code that frees memory allocated for a dead thread from 1998-09-30 06:36:56 +00:00
uthread_fchmod.c Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +00:00
uthread_fchown.c Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +00:00
uthread_fcntl.c Removed unused variables. 1998-09-07 21:55:01 +00:00
uthread_fd.c Don't clobber errno if we are not going to fail. 1998-09-13 15:33:42 +00:00
uthread_file.c Fixed bug, caused threads to wait for locks which nobody hold. 1998-09-09 16:50:33 +00:00
uthread_find_thread.c Move the cleanup code that frees memory allocated for a dead thread from 1998-09-30 06:36:56 +00:00
uthread_flock.c Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +00:00
uthread_fork.c Cosmetic cleansing. This code requires extra work to keep the garbage 1998-09-30 06:41:16 +00:00
uthread_fstat.c Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +00:00
uthread_fstatfs.c Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +00:00
uthread_fsync.c Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +00:00
uthread_gc.c Debug when an environment variable set, no when it is unset. 1998-09-30 19:17:51 +00:00
uthread_getdirentries.c Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +00:00
uthread_getpeername.c Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +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 Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +00:00
uthread_getsockopt.c Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +00:00
uthread_info.c Use snprintf instead of sprintf to avoid long source file paths from 1998-09-30 06:29:54 +00:00
uthread_init.c Move the cleanup code that frees memory allocated for a dead thread from 1998-09-30 06:36:56 +00:00
uthread_ioctl.c Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +00:00
uthread_join.c Add the missing {} that caused the function to return ESRCH if it 1998-06-25 00:04:21 +00:00
uthread_kern.c Fix some bugs in pthread scheduler: 1998-10-09 19:01:30 +00:00
uthread_kill.c Implementation of an additional state called SIGWAIT (with the previous 1998-09-30 06:27:31 +00:00
uthread_listen.c Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +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 Removed unused variables. 1998-09-07 21:55:01 +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 Check the access mode in the flags before waiting on a read or a write 1998-06-10 22:28:45 +00:00
uthread_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
uthread_recvfrom.c Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +00:00
uthread_recvmsg.c Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +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_rwlock.c Removed some variable initializations which were unnecessary and divergent 1998-09-07 21:07:59 +00:00
uthread_rwlockattr.c -Wall clean. 1998-09-07 19:23:55 +00:00
uthread_select.c Update the caller's descriptor masks even if there are none ready for 1998-06-12 02:17:18 +00:00
uthread_self.c Reviewed by: julian 1996-01-22 00:23:58 +00:00
uthread_sendmsg.c Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +00:00
uthread_sendto.c Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +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 Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +00:00
uthread_shutdown.c Implement compile time debug support instead of tracking file name and 1998-06-09 23:21:05 +00:00
uthread_sig.c Implementation of an additional state called SIGWAIT (with the previous 1998-09-30 06:27:31 +00:00
uthread_sigaction.c Don't automatically restart syscalls for the signals that the thread 1998-08-26 20:55:31 +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 Don't automatically restart syscalls for the signals that the thread 1998-08-26 20:55:31 +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 Implementation of an additional state called SIGWAIT (with the previous 1998-09-30 06:27:31 +00:00
uthread_sigwait.c Implementation of an additional state called SIGWAIT (with the previous 1998-09-30 06:27:31 +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 NULL a pointer after it is freed to avoid trying to free it again. 1998-09-30 06:24:57 +00:00
uthread_spinlock.c Add support for compile time debug. This is enabled if libc_r is built 1998-06-09 23:13:10 +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_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
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 Removed unused variables. 1998-09-07 21:55:01 +00:00
uthread_writev.c If a short write, only loop if no error. 1998-06-14 09:36:14 +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