freebsd-dev/lib/libthr/thread
Jake Burkholder 55ad402a8f - Pass a ucontext_t to _set_curthread. If non-NULL the new thread is set
as curthread in the new context, so that it will be set automatically when
  the thread is switched to.  This fixes a race where we'd run for a little
  while with curthread unset in _thread_start.

Reviewed by:	jeff
2003-04-03 03:34:50 +00:00
..
Makefile.inc
thr_attr.c
thr_autoinit.c
thr_cancel.c - Define curthread as _get_curthread() and remove all direct calls to 2003-04-02 03:05:39 +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_cond.c - Define curthread as _get_curthread() and remove all direct calls to 2003-04-02 03:05:39 +00:00
thr_condattr_destroy.c
thr_condattr_init.c
thr_create.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_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 - Define curthread as _get_curthread() and remove all direct calls to 2003-04-02 03:05:39 +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 - Don't drop and reacquire giant in thread_suspend(). Change callers to do 2003-04-01 22:41:41 +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 - Define curthread as _get_curthread() and remove all direct calls to 2003-04-02 03:05:39 +00:00
thr_mutexattr_destroy.c
thr_once.c
thr_printf.c
thr_private.h - Pass a ucontext_t to _set_curthread. If non-NULL the new thread is set 2003-04-03 03:34:50 +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 - Define curthread as _get_curthread() and remove all direct calls to 2003-04-02 03:05:39 +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