freebsd-dev/lib/libkse/thread
David Xu 2d81cd746b _thr_sig_check_pending is also called by scope system thread when it leaves
critical region, we wrap some syscalls for thread cancellation point, and
when syscalls returns, we call _thr_leave_cancellation_point, at the time
if a signal comes in, it would be buffered, and when the thread leaves
_thr_leave_cancellation_point, buffered signals will be processed, to avoid
messing up normal syscall errno, we should save and restore errno around
signal handling code.
2003-08-20 13:43:35 +00:00
..
Makefile.inc Override libc function raise(), in threading mode, raise() will 2003-07-19 05:25:49 +00:00
thr_aio_suspend.c
thr_attr_destroy.c
thr_attr_get_np.c Avoid accessing user provided parameters in critical region. 2003-07-07 04:28:23 +00:00
thr_attr_getdetachstate.c
thr_attr_getguardsize.c
thr_attr_getinheritsched.c
thr_attr_getschedparam.c
thr_attr_getschedpolicy.c
thr_attr_getscope.c
thr_attr_getstack.c
thr_attr_getstackaddr.c
thr_attr_getstacksize.c
thr_attr_init.c Cleanup thread accounting. Don't reset a threads timeslice 2003-07-18 02:46:55 +00:00
thr_attr_setcreatesuspend_np.c
thr_attr_setdetachstate.c
thr_attr_setguardsize.c
thr_attr_setinheritsched.c
thr_attr_setschedparam.c
thr_attr_setschedpolicy.c
thr_attr_setscope.c
thr_attr_setstack.c
thr_attr_setstackaddr.c
thr_attr_setstacksize.c
thr_autoinit.c
thr_cancel.c If thread mode is not activated yet, don't do extra work. 2003-08-10 22:07:28 +00:00
thr_clean.c
thr_close.c
thr_concurrency.c Rethink the MD interfaces for libpthread to account for 2003-08-05 22:46:00 +00:00
thr_cond.c Move idle kse wakeup to outside of regions where locks are held. 2003-07-23 02:11:07 +00:00
thr_condattr_destroy.c
thr_condattr_init.c
thr_creat.c
thr_create.c Fix an off by one error in the number of arguments passed to 2003-08-06 00:23:40 +00:00
thr_detach.c Move idle kse wakeup to outside of regions where locks are held. 2003-07-23 02:11:07 +00:00
thr_equal.c
thr_exit.c Direct call exit if thread was never created. This makes it safe to call 2003-08-18 04:03:08 +00:00
thr_fcntl.c
thr_find_thread.c o Eliminate upcall for PTHREAD_SYSTEM_SCOPE thread, now it 2003-07-17 23:02:30 +00:00
thr_fork.c Save and restore errno around sigprocmask. 2003-08-19 03:33:51 +00:00
thr_fsync.c
thr_getprio.c
thr_getschedparam.c Avoid accessing user provided parameters in critical region. 2003-07-07 04:28:23 +00:00
thr_info.c Correctly print signal mask, the bug was introduced by cut and paste 2003-07-07 12:12:33 +00:00
thr_init.c Treat initial thread as scope system thread when KSE mode is not activated 2003-08-18 03:58:29 +00:00
thr_join.c Avoid accessing user provided parameters in critical region. 2003-07-07 04:28:23 +00:00
thr_kern.c Treat initial thread as scope system thread when KSE mode is not activated 2003-08-18 03:58:29 +00:00
thr_kill.c o Use a daemon thread to monitor signal events in kernel, if pending 2003-06-28 09:55:02 +00:00
thr_main_np.c
thr_mattr_init.c
thr_mattr_kind_np.c
thr_msync.c
thr_multi_np.c
thr_mutex_prioceiling.c Avoid accessing user provided parameters in critical region. 2003-07-07 04:28:23 +00:00
thr_mutex_protocol.c
thr_mutex.c Don't forget to unlock the scheduler lock. Somehow this got removed 2003-07-30 13:28:05 +00:00
thr_mutexattr_destroy.c
thr_nanosleep.c Treat initial thread as scope system thread when KSE mode is not activated 2003-08-18 03:58:29 +00:00
thr_once.c
thr_open.c
thr_pause.c
thr_poll.c
thr_printf.c Support printing 64 bits pointer and long integer. 2003-08-19 08:29:33 +00:00
thr_priority_queue.c o Don't add a scope system thread's KSE to the list of available 2003-04-28 23:56:12 +00:00
thr_private.h Treat initial thread as scope system thread when KSE mode is not activated 2003-08-18 03:58:29 +00:00
thr_pselect.c Eek, staticize a couple of functions that shouldn't 2003-05-19 23:04:50 +00:00
thr_raise.c Override libc function raise(), in threading mode, raise() will 2003-07-19 05:25:49 +00:00
thr_read.c
thr_readv.c
thr_resume_np.c Move idle kse wakeup to outside of regions where locks are held. 2003-07-23 02:11:07 +00:00
thr_rtld.c Tweak rtld lock to allow recursive on reader lock and detect recursive 2003-08-10 22:15:03 +00:00
thr_rwlock.c Attempt to eliminate PLT relocations from rwlock aquire/release 2003-05-30 00:21:52 +00:00
thr_rwlockattr.c
thr_select.c If select() is only used for sleep, convert it to nanosleep, 2003-07-03 13:36:29 +00:00
thr_self.c
thr_sem.c
thr_seterrno.c
thr_setprio.c
thr_setschedparam.c Add an i386-specifc hack to always set %gs. There still seems 2003-04-21 04:02:56 +00:00
thr_sig.c _thr_sig_check_pending is also called by scope system thread when it leaves 2003-08-20 13:43:35 +00:00
thr_sigaction.c Treat initial thread as scope system thread when KSE mode is not activated 2003-08-18 03:58:29 +00:00
thr_sigmask.c Treat initial thread as scope system thread when KSE mode is not activated 2003-08-18 03:58:29 +00:00
thr_sigpending.c Treat initial thread as scope system thread when KSE mode is not activated 2003-08-18 03:58:29 +00:00
thr_sigprocmask.c Treat initial thread as scope system thread when KSE mode is not activated 2003-08-18 03:58:29 +00:00
thr_sigsuspend.c Treat initial thread as scope system thread when KSE mode is not activated 2003-08-18 03:58:29 +00:00
thr_sigwait.c Treat initial thread as scope system thread when KSE mode is not activated 2003-08-18 03:58:29 +00:00
thr_single_np.c
thr_sleep.c
thr_spec.c Add back a loop for up to PTHREAD_DESTRUCTOR_ITERATIONS to 2003-08-20 02:34:14 +00:00
thr_spinlock.c Don't really spin on a spinlock; silently convert it to the same 2003-05-29 17:10:45 +00:00
thr_stack.c Use mmap retuned value. 2003-06-28 09:48:05 +00:00
thr_suspend_np.c Fix suspend and resume. 2003-05-04 16:17:01 +00:00
thr_switch_np.c
thr_system.c
thr_tcdrain.c
thr_vfork.c
thr_wait4.c
thr_wait.c
thr_waitpid.c
thr_write.c
thr_writev.c
thr_yield.c Treat initial thread as scope system thread when KSE mode is not activated 2003-08-18 03:58:29 +00:00