1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/lib/libkse/thread
Daniel Eischen 00e550955e Correct the logic for checking the emptiness of the waiting queue.
This fixes a potential problem where the file descriptors would not
be polled causing waiting threads to stay waiting.  Doh!

MFC candidate.
2000-11-11 22:20:36 +00:00
..
Makefile.inc Add thread-safe wrapper for fpathconf(2) syscall. 2000-09-19 18:01:03 +00:00
thr_aio_suspend.c Change my email address in the copyright notices for the sake of consistency 2000-07-18 01:38:19 +00:00
thr_attr_destroy.c
thr_attr_getdetachstate.c Fixed missing consts for function parameters, so that the code matches 2000-05-11 15:57:17 +00:00
thr_attr_getinheritsched.c
thr_attr_getschedparam.c
thr_attr_getschedpolicy.c
thr_attr_getscope.c
thr_attr_getstackaddr.c Fixed missing consts for function parameters, so that the code matches 2000-05-11 15:57:17 +00:00
thr_attr_getstacksize.c Fixed missing consts for function parameters, so that the code matches 2000-05-11 15:57:17 +00:00
thr_attr_init.c
thr_attr_setcreatesuspend_np.c
thr_attr_setdetachstate.c
thr_attr_setinheritsched.c
thr_attr_setschedparam.c Implement zero system call thread switching. Performance of 2000-10-13 22:12:32 +00:00
thr_attr_setschedpolicy.c Add missing man pages. Fix various compliance bugs, mostly having to do with 2000-05-02 06:51:40 +00:00
thr_attr_setscope.c Add missing man pages. Fix various compliance bugs, mostly having to do with 2000-05-02 06:51:40 +00:00
thr_attr_setstackaddr.c
thr_attr_setstacksize.c
thr_cancel.c pthread_mutex_lock(), pthread_cond_trywait(), and pthread_cond_wait() are 2000-06-14 17:17:41 +00:00
thr_clean.c
thr_close.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
thr_cond.c Don't needlessly poll file descriptors when there are no 2000-11-09 05:08:26 +00:00
thr_condattr_destroy.c
thr_condattr_init.c
thr_creat.c Change my email address in the copyright notices for the sake of consistency 2000-07-18 01:38:19 +00:00
thr_create.c Don't needlessly poll file descriptors when there are no 2000-11-09 05:08:26 +00:00
thr_detach.c Don't needlessly poll file descriptors when there are no 2000-11-09 05:08:26 +00:00
thr_equal.c
thr_exit.c Don't needlessly poll file descriptors when there are no 2000-11-09 05:08:26 +00:00
thr_fcntl.c Use _fcntl() (not fcntl()) inside of fcntl(). 2000-01-28 22:10:27 +00:00
thr_find_thread.c
thr_fork.c Implement zero system call thread switching. Performance of 2000-10-13 22:12:32 +00:00
thr_fsync.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
thr_getprio.c
thr_getschedparam.c Implement zero system call thread switching. Performance of 2000-10-13 22:12:32 +00:00
thr_info.c Don't needlessly poll file descriptors when there are no 2000-11-09 05:08:26 +00:00
thr_init.c Don't needlessly poll file descriptors when there are no 2000-11-09 05:08:26 +00:00
thr_join.c Don't needlessly poll file descriptors when there are no 2000-11-09 05:08:26 +00:00
thr_kern.c Correct the logic for checking the emptiness of the waiting queue. 2000-11-11 22:20:36 +00:00
thr_kill.c
thr_mattr_init.c
thr_mattr_kind_np.c Add missing man pages. Fix various compliance bugs, mostly having to do with 2000-05-02 06:51:40 +00:00
thr_msync.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
thr_multi_np.c
thr_mutex_prioceiling.c
thr_mutex_protocol.c
thr_mutex.c Don't needlessly poll file descriptors when there are no 2000-11-09 05:08:26 +00:00
thr_mutexattr_destroy.c
thr_nanosleep.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
thr_once.c Call _thread_init() from pthread_once() if it has not already been called. 2000-07-21 09:31:13 +00:00
thr_open.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
thr_pause.c Change my email address in the copyright notices for the sake of consistency 2000-07-18 01:38:19 +00:00
thr_poll.c Use __strong_reference() instead of __weak_reference() to assure that the 2000-01-29 22:53:55 +00:00
thr_priority_queue.c Implement zero system call thread switching. Performance of 2000-10-13 22:12:32 +00:00
thr_private.h Don't needlessly poll file descriptors when there are no 2000-11-09 05:08:26 +00:00
thr_read.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
thr_readv.c Use __strong_reference() instead of __weak_reference() to assure that the 2000-01-29 22:53:55 +00:00
thr_resume_np.c pthread_mutex_lock(), pthread_cond_trywait(), and pthread_cond_wait() are 2000-06-14 17:17:41 +00:00
thr_rwlock.c
thr_rwlockattr.c
thr_select.c Use __strong_reference() instead of __weak_reference() to assure that the 2000-01-29 22:53:55 +00:00
thr_self.c
thr_sem.c Implement zero system call thread switching. Performance of 2000-10-13 22:12:32 +00:00
thr_seterrno.c
thr_setprio.c
thr_setschedparam.c Implement zero system call thread switching. Performance of 2000-10-13 22:12:32 +00:00
thr_sig.c Don't needlessly poll file descriptors when there are no 2000-11-09 05:08:26 +00:00
thr_sigaction.c Don't needlessly poll file descriptors when there are no 2000-11-09 05:08:26 +00:00
thr_sigmask.c Don't needlessly poll file descriptors when there are no 2000-11-09 05:08:26 +00:00
thr_sigpending.c Use __strong_reference() instead of __weak_reference() to assure that the 2000-01-29 22:53:55 +00:00
thr_sigprocmask.c Implement zero system call thread switching. Performance of 2000-10-13 22:12:32 +00:00
thr_sigsuspend.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
thr_sigwait.c Make pthread_kill() know about temporary signal handlers installed 2000-10-25 11:46:07 +00:00
thr_single_np.c
thr_sleep.c Change my email address in the copyright notices for the sake of consistency 2000-07-18 01:38:19 +00:00
thr_spec.c
thr_spinlock.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
thr_suspend_np.c pthread_mutex_lock(), pthread_cond_trywait(), and pthread_cond_wait() are 2000-06-14 17:17:41 +00:00
thr_switch_np.c
thr_system.c Change my email address in the copyright notices for the sake of consistency 2000-07-18 01:38:19 +00:00
thr_tcdrain.c Change my email address in the copyright notices for the sake of consistency 2000-07-18 01:38:19 +00:00
thr_vfork.c
thr_wait4.c #include <sys/types.h> 2000-10-15 20:04:09 +00:00
thr_wait.c Change my email address in the copyright notices for the sake of consistency 2000-07-18 01:38:19 +00:00
thr_waitpid.c Change my email address in the copyright notices for the sake of consistency 2000-07-18 01:38:19 +00:00
thr_write.c Implement zero system call thread switching. Performance of 2000-10-13 22:12:32 +00:00
thr_writev.c Use __strong_reference() instead of __weak_reference() to assure that the 2000-01-29 22:53:55 +00:00
thr_yield.c Implement zero system call thread switching. Performance of 2000-10-13 22:12:32 +00:00