summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_kern.c
Commit message (Expand)AuthorAgeFilesLines
* MFC changes from 1.14 for sys/lock.c and 1.127+1.128 for thread/thr_kern.cJulian Elischer2008-02-041-0/+25
* MFC: Relevent commit logs are below.Daniel Eischen2006-03-161-26/+32
* Use a generic way to back threads out of wait queues when handlingDaniel Eischen2004-12-181-39/+16
* 1. Move thread list flags into new separate member, and atomicallyDavid Xu2004-10-231-10/+27
* if system scope thread didn't set timeout, don't call clock_gettime syscallDavid Xu2004-10-081-8/+9
* Make sure we don't call _thr_start_sig_daemon() when SYSTEM_SCOPE_ONLY is def...Suleiman Souhlal2004-09-241-2/+3
* Add TLS support for i386 and amd64.Doug Rabson2004-08-151-1/+1
* As long as we have a knob to force system scope threads, why not haveDaniel Eischen2004-08-121-4/+4
* Check debugger suspending flag for system scope thread.David Xu2004-08-081-3/+7
* Add a way to force 1:1 mode for libpthread. To do this, defineDaniel Eischen2004-08-071-29/+27
* s/TMDF_DONOTRUNUSER/TMDF_SUSPEND/gDavid Xu2004-08-031-2/+2
* Add code to support thread debugging.David Xu2004-07-131-8/+54
* After forking and initializing the library to single-threadedDaniel Eischen2004-04-081-2/+3
* Replace a comment with more accurated one, memory heap is now protected byDavid Xu2003-12-191-3/+2
* Rename _thr_enter_cancellation_point to _thr_cancel_enter, renameDavid Xu2003-12-091-18/+11
* 1.Macro optimizing KSE_LOCK_ACQUIRE and THR_LOCK_ACQUIRE to use static fallDavid Xu2003-11-291-91/+24
* If a thread in critical region got a synchronous signal, according currentDavid Xu2003-11-091-0/+2
* Add an implementation for pthread_atfork().Daniel Eischen2003-11-041-1/+15
* Complete cancellation support for M:N threads, check cancelling flag whenDavid Xu2003-10-081-69/+156
* When concurrency level is reduced and a kse is exiting, make sure no otherDavid Xu2003-09-291-0/+13
* Remove unused variable.David Xu2003-09-281-2/+0
* Free thread name memory if there is.David Xu2003-09-231-0/+4
* Make KSE_STACKSIZE machine dependent by moving it from thr_kern.c toMarcel Moolenaar2003-09-191-2/+0
* Fix a typo. Also turn on PTHREAD_SCOPE_SYSTEM after fork().David Xu2003-09-161-1/+2
* 1. Allocating and freeing lock related resource in _thr_alloc and _thr_freeDavid Xu2003-09-141-73/+44
* Add code to support barrier synchronous object and implementDavid Xu2003-09-041-2/+5
* Allow hooks registered by atexit() to run with current thread pointer set,David Xu2003-09-041-1/+4
* Move kse_wakeup_multi call to just before KSE_SCHED_UNLOCK.David Xu2003-09-031-4/+2
* Allow the concurrency level to be reduced.Daniel Eischen2003-08-301-7/+8
* Treat initial thread as scope system thread when KSE mode is not activatedDavid Xu2003-08-181-15/+9
* Keep initial kse and kse group just like we keep initial thread,David Xu2003-08-161-9/+11
* Always set tcb for bound thread, and switch tcb for M:N thread at correctDavid Xu2003-08-131-7/+18
* Correctly set current tcb. This fixes some IA64/KSE problems.David Xu2003-08-121-17/+11
* Initialize rtld lock just before turning on thread mode andDavid Xu2003-08-101-19/+33
* o Add code to GC freed KSEs and KSE groupsDavid Xu2003-08-081-25/+116
* Don't call kse_set_curthread() when scheduling a new boundDaniel Eischen2003-08-061-2/+3
* Rethink the MD interfaces for libpthread to account forDaniel Eischen2003-08-051-156/+160
* Move idle kse wakeup to outside of regions where locks are held.Daniel Eischen2003-07-231-35/+57
* Cleanup thread accounting. Don't reset a threads timesliceDaniel Eischen2003-07-181-36/+21
* o Eliminate upcall for PTHREAD_SYSTEM_SCOPE thread, now itDavid Xu2003-07-171-104/+217
* Restore signal mask correctly after fork().David Xu2003-07-091-1/+2
* Save and restore thread's error code around signal handling.David Xu2003-07-091-1/+2
* Check if thread is in critical region, only testing check_pendingDavid Xu2003-07-031-1/+2
* Because there are only _SIG_MAXSIG elements in thread siginfo array,David Xu2003-06-301-1/+1
* Remove surplus unlocking code I accidentally checked in. This won't beDavid Xu2003-06-301-4/+0
* o Use a daemon thread to monitor signal events in kernel, if pendingDavid Xu2003-06-281-96/+138
* Untangle the inter-dependency of kse types and ksd types/functionsMarcel Moolenaar2003-06-231-1/+1
* Change the definition of _ksd_curkse, _ksd_curthread andMarcel Moolenaar2003-06-231-3/+3
* Insert threads at the end of the free thread list so thatDaniel Eischen2003-06-081-1/+1
* KMF_DONE is now in /sys/sys/kse.h, no longer need to define it here.David Xu2003-06-041-4/+0