freebsd-dev/lib/libthr/thread
Mike Makonnen dd3b229e2c Do some cleanup with respect to condition variables. The implementation
of pthread_cond_timedwait() is moved into cond_wait_common().
Pthread_cond_wait() and pthread_cond_timedwait() are now wrappers around
this function. Previously, the former called the latter with the abstime
pointing to 0 time. This violated Posix semantics should an application
have reason to call it with that argument because instead or returning
immediately it would have waited indefinitely for the cv to be signaled.

Approved by:	markm/mentor, re/blanket libthr
Reviewed by:	jeff
2003-05-15 18:17:13 +00:00
..
Makefile.inc Add stub implementations of pthread_[gs]etconcurrency to libc_r and 2003-04-20 01:53:13 +00:00
thr_attr.c
thr_autoinit.c
thr_cancel.c o Make the setting/checking of cancel state atomic with 2003-05-15 17:56:18 +00:00
thr_clean.c - Define curthread as _get_curthread() and remove all direct calls to 2003-04-02 03:05:39 +00:00
thr_concurrency.c Add stub implementations of pthread_[gs]etconcurrency to libc_r and 2003-04-20 01:53:13 +00:00
thr_cond.c Do some cleanup with respect to condition variables. The implementation 2003-05-15 18:17:13 +00:00
thr_condattr_destroy.c
thr_condattr_init.c
thr_create.c Fix build breakage (on ia64) caused by a missing file descriptor to 2003-04-20 02:56:12 +00:00
thr_detach.c - Define curthread as _get_curthread() and remove all direct calls to 2003-04-02 03:05:39 +00:00
thr_equal.c
thr_exit.c - Define curthread as _get_curthread() and remove all direct calls to 2003-04-02 03:05:39 +00:00
thr_find_thread.c - Define curthread as _get_curthread() and remove all direct calls to 2003-04-02 03:05:39 +00:00
thr_gc.c Fix build breakage (on ia64) caused by a missing file descriptor to 2003-04-20 02:56:12 +00:00
thr_getprio.c
thr_getschedparam.c
thr_info.c - Define curthread as _get_curthread() and remove all direct calls to 2003-04-02 03:05:39 +00:00
thr_init.c - Pass a ucontext_t to _set_curthread. If non-NULL the new thread is set 2003-04-03 03:34:50 +00:00
thr_join.c - Define curthread as _get_curthread() and remove all direct calls to 2003-04-02 03:05:39 +00:00
thr_kern.c msg1 2003-05-12 10:34:01 +00:00
thr_main_np.c
thr_mattr_init.c
thr_mattr_kind_np.c
thr_multi_np.c
thr_mutex_prioceiling.c - Reenable setschedparam and the prioceiling code now that the mutex code 2003-04-01 22:40:29 +00:00
thr_mutex_protocol.c
thr_mutex.c msg1 2003-05-12 10:34:01 +00:00
thr_mutexattr_destroy.c
thr_once.c
thr_printf.c
thr_private.h msg1 2003-05-12 10:34:01 +00:00
thr_resume_np.c - Define curthread as _get_curthread() and remove all direct calls to 2003-04-02 03:05:39 +00:00
thr_rwlock.c
thr_rwlockattr.c
thr_self.c - Define curthread as _get_curthread() and remove all direct calls to 2003-04-02 03:05:39 +00:00
thr_sem.c - Define curthread as _get_curthread() and remove all direct calls to 2003-04-02 03:05:39 +00:00
thr_seterrno.c
thr_setprio.c
thr_setschedparam.c - Define curthread as _get_curthread() and remove all direct calls to 2003-04-02 03:05:39 +00:00
thr_sig.c msg2 2003-05-12 10:40:53 +00:00
thr_spec.c - Define curthread as _get_curthread() and remove all direct calls to 2003-04-02 03:05:39 +00:00
thr_spinlock.c - Define curthread as _get_curthread() and remove all direct calls to 2003-04-02 03:05:39 +00:00
thr_stack.c
thr_suspend_np.c
thr_syscalls.c
thr_yield.c