aboutsummaryrefslogtreecommitdiff
path: root/lib/libkse/thread
Commit message (Expand)AuthorAgeFilesLines
...
* 1.Macro optimizing KSE_LOCK_ACQUIRE and THR_LOCK_ACQUIRE to use static fallDavid Xu2003-11-292-99/+31
* Remove surplus mmap() call for stack guard page in init_private, it is doneDavid Xu2003-11-291-25/+0
* Back out last change and go back to using KSE locks instead of threadDaniel Eischen2003-11-161-16/+17
* If a thread in critical region got a synchronous signal, according currentDavid Xu2003-11-091-0/+2
* Use THR lock instead of KSE lock to avoid scheduler be blocked in spinlock.David Xu2003-11-081-17/+16
* style(9)Daniel Eischen2003-11-051-40/+53
* Don't declare the malloc lock; use the declaration provided in libc.Daniel Eischen2003-11-051-1/+6
* Add pthread_atfork() source code. Dan forgot to commit this file.David Xu2003-11-051-0/+56
* Add an implementation for pthread_atfork().Daniel Eischen2003-11-045-6/+71
* Add the ability to reinitialize a spinlock (libc/libpthreadDaniel Eischen2003-11-041-12/+17
* s/foo()/foo(void)/Daniel Eischen2003-11-041-2/+3
* Libpthread uses the convention that all of its (non-weak) symbolsDaniel Eischen2003-11-041-5/+11
* Add the ability to reinitialize a mutex (internally, not a userlandDaniel Eischen2003-11-041-7/+20
* 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