aboutsummaryrefslogtreecommitdiff
path: root/lib/libpthread/thread
Commit message (Expand)AuthorAgeFilesLines
* Fix some comments for last commit.David Xu2003-10-081-5/+4
* Complete cancellation support for M:N threads, check cancelling flag whenDavid Xu2003-10-082-69/+157
* Use thread lock instead of scheduler lock to eliminate lock contentionDavid Xu2003-10-081-18/+21
* 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
* pthread API should return error code in return value not in errno.David Xu2003-09-251-2/+2
* If syscall failed, restore old sigaction and return error to thread.David Xu2003-09-251-11/+19
* As comments in _mutex_lock_backout state, only current threadDavid Xu2003-09-241-6/+4
* Free thread name memory if there is.David Xu2003-09-231-0/+4
* Save and restore timeout field for signal frame just like what we didDavid Xu2003-09-222-1/+4
* Print waitset correctly.David Xu2003-09-221-1/+1
* Make KSE_STACKSIZE machine dependent by moving it from thr_kern.c toMarcel Moolenaar2003-09-191-2/+0
* pthread api should return error code in return value, not in errno.David Xu2003-09-181-2/+1
* Fix a typo. Also turn on PTHREAD_SCOPE_SYSTEM after fork().David Xu2003-09-161-1/+2
* Fix bogus comment and assign sigmask in critical region, useDavid Xu2003-09-151-2/+4
* Fix a bogus comment, sigmask must be maintained correctly,David Xu2003-09-151-1/+1
* 1. Allocating and freeing lock related resource in _thr_alloc and _thr_freeDavid Xu2003-09-144-94/+87
* When invoking an old style signal handler, use true traditional BSD style toDavid Xu2003-09-141-6/+13
* Respect POSIX specification, a value return from pthread_attr_getguardsizeDavid Xu2003-09-142-16/+18
* Avoid garbage bits in c_flags by direct assigning value.David Xu2003-09-141-1/+1
* If user is seting scope process flag, clear PTHREAD_SCOPE_SYSTEM bitDavid Xu2003-09-141-2/+4
* Check invalid parameter and return EINVAL.David Xu2003-09-141-0/+3
* Original pthread_once code has memory leak if pthread_once_t is used inDavid Xu2003-09-092-9/+52
* Add code to support pthread spin lock.David Xu2003-09-093-0/+161
* Add small piece of code to support pthread_rwlock_timedrdlock andDavid Xu2003-09-061-8/+43
* Add code to support barrier synchronous object and implementDavid Xu2003-09-046-6/+346
* Remove repeated macro THR_IN_CONDQ.David Xu2003-09-041-1/+0
* Allow hooks registered by atexit() to run with current thread pointer set,David Xu2003-09-041-1/+4
* Don't assume sizeof(long) = sizeof(int) on x86; use intDaniel Eischen2003-09-038-0/+17
* 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-303-35/+63
* Repost masked signal to kernel for scope system thread, it hardly happensDavid Xu2003-08-211-6/+25
* _thr_sig_check_pending is also called by scope system thread when it leavesDavid Xu2003-08-201-0/+3
* Add back a loop for up to PTHREAD_DESTRUCTOR_ITERATIONS toDaniel Eischen2003-08-201-12/+20
* Support printing 64 bits pointer and long integer.David Xu2003-08-191-10/+27
* Save and restore errno around sigprocmask.David Xu2003-08-191-1/+5
* Direct call exit if thread was never created. This makes it safe to callDavid Xu2003-08-181-0/+2
* 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