aboutsummaryrefslogtreecommitdiff
path: root/lib/libkse/thread
Commit message (Expand)AuthorAgeFilesLines
...
* Treat initial thread as scope system thread when KSE mode is not activatedDavid Xu2003-08-1812-81/+47
* If threaded mode is not turned on yet, direct call __sys_sched_yield.David Xu2003-08-161-2/+3
* Keep initial kse and kse group just like we keep initial thread,David Xu2003-08-161-9/+11
* Access user provided pointer out of lock, and also check the case whenDavid Xu2003-08-161-8/+10
* 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
* Add some quick pathes to exit process when signal action is default andDavid Xu2003-08-101-0/+21
* Initialize rtld lock just before turning on thread mode andDavid Xu2003-08-103-35/+37
* If thread mode is not activated yet, just call __sys_fork() directly,David Xu2003-08-101-1/+22
* Tweak rtld lock to allow recursive on reader lock and detect recursiveDavid Xu2003-08-101-10/+67
* If thread mode is not activated yet, don't do extra work.David Xu2003-08-101-0/+4
* 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
* Fix an off by one error in the number of arguments passed toMarcel Moolenaar2003-08-061-1/+1
* Rethink the MD interfaces for libpthread to account forDaniel Eischen2003-08-057-210/+197
* sysctlbyname needs size_t type, not int.David Xu2003-07-311-1/+1
* Don't forget to unlock the scheduler lock. Somehow this got removedDaniel Eischen2003-07-301-0/+1
* Simplify sigwait code a bit by using a waitset and removing oldsigmask.David Xu2003-07-273-22/+17
* Move idle kse wakeup to outside of regions where locks are held.Daniel Eischen2003-07-238-73/+130
* Override libc function raise(), in threading mode, raise() willDavid Xu2003-07-192-0/+54
* Cleanup thread accounting. Don't reset a threads timesliceDaniel Eischen2003-07-183-38/+27
* Add a preemption point when a mutex or condition variable isDaniel Eischen2003-07-182-6/+18
* o Eliminate upcall for PTHREAD_SYSTEM_SCOPE thread, now itDavid Xu2003-07-1714-395/+596
* Don't resume sigwait thread If signal is masked.David Xu2003-07-091-8/+12
* POSIX says if a thread is in sigwait state, although a signal may not inDavid Xu2003-07-092-11/+29
* Restore signal mask correctly after fork().David Xu2003-07-092-4/+6
* Save and restore thread's error code around signal handling.David Xu2003-07-091-1/+2
* Correctly print signal mask, the bug was introduced by cut and pasteDavid Xu2003-07-071-11/+20
* Add a newline to debug message.David Xu2003-07-071-1/+1
* Avoid accessing user provided parameters in critical region.David Xu2003-07-079-46/+65
* Print thread's scope, also print signal mask for every thread and printDavid Xu2003-07-071-17/+13
* Correctly lock/unlock signal lock. I must be in bad state, need to sleep.David Xu2003-07-041-1/+2
* Always check and restore sigaction previously set, also access user parameterDavid Xu2003-07-041-4/+7
* If select() is only used for sleep, convert it to nanosleep,David Xu2003-07-031-4/+9
* Check if thread is in critical region, only testing check_pendingDavid Xu2003-07-031-1/+2
* Set unlock_mutex to 1 after locked mutex.David Xu2003-07-021-2/+4
* Fix typo.David Xu2003-07-021-1/+1
* Because there are only _SIG_MAXSIG elements in thread siginfo array,David Xu2003-06-303-16/+16
* 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-2812-586/+806
* Use mmap retuned value.David Xu2003-06-281-2/+3
* Temporary disable rwlock based code, replace it with low level KSE lockingDavid Xu2003-06-281-0/+92
* Write new thread pointer back only when success.David Xu2003-06-281-3/+4
* After thread was interrupted by signal, it should relock mutex.David Xu2003-06-281-2/+1
* if thread is exiting, just returns. kse_thr_interrupt interfaceDavid Xu2003-06-281-2/+6
* Explicitly widen int types before casting to pointer types. On 64-bitMarcel Moolenaar2003-06-241-3/+4
* Untangle the inter-dependency of kse types and ksd types/functionsMarcel Moolenaar2003-06-232-2/+1
* Change the definition of _ksd_curkse, _ksd_curthread andMarcel Moolenaar2003-06-231-3/+3
* Don't lock scheduler lock twice.David Xu2003-06-181-2/+1
* After selecting a thread to handle a signal and takingDaniel Eischen2003-06-081-3/+8