aboutsummaryrefslogtreecommitdiff
path: root/lib/libpthread/thread
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* 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