summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_kern.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Change low-level locking a bit so that we can tell ifDaniel Eischen2003-05-241-92/+175
* Eek, staticize a couple of functions that shouldn'tDaniel Eischen2003-05-191-1/+6
* Add a method of yielding the current thread with the schedulerDaniel Eischen2003-05-161-116/+157
* call dump_queues() only when DEBUG_THREAD_KERN is defined, save someDavid Xu2003-05-051-0/+2
* Fix suspend and resume.Daniel Eischen2003-05-041-16/+28
* Move the mailbox to the beginning of the thread and align theDaniel Eischen2003-04-301-3/+9
* Call kse_wakeup_mutli() after remove current thread from RUNQ to avoidDavid Xu2003-04-301-1/+1
* Call kse_wakeup_multi() to wakeup idle KSEs when there are threads readyDavid Xu2003-04-301-0/+1
* o Don't add a scope system thread's KSE to the list of availableDaniel Eischen2003-04-281-40/+121
* Protect thread errno from being changed while operatingDaniel Eischen2003-04-231-0/+31
* Set the quantum for scope system threads to 0 (no quantum).Daniel Eischen2003-04-221-0/+2
* Add a couple asserts to pthread_cond_foo to ensure the (low-level)Daniel Eischen2003-04-221-19/+45
* Add an i386-specifc hack to always set %gs. There still seemsDaniel Eischen2003-04-211-155/+231
* Remove duplicate $FreeBSD$ id.Daniel Eischen2003-04-181-3/+1
* Sorry folks; I accidentally committed a patch from what I was workingDaniel Eischen2003-04-181-130/+176
* Revamp libpthread so that it has a chance of working in an SMPDaniel Eischen2003-04-181-405/+1602