aboutsummaryrefslogtreecommitdiff
path: root/lib/libpthread/thread
Commit message (Expand)AuthorAgeFilesLines
* Fixed a misspelling of 0 as NULL.Bruce Evans2004-03-141-1/+1
* style cleanup: Remove duplicate $FreeBSD$ tags.Colin Percival2004-02-101-2/+0
* Add cancellation point to sem_wait() and sem_timedwait() for psharedDaniel Eischen2004-02-061-10/+18
* Provide a userland version of non-pshared semaphores and add cancellationDaniel Eischen2004-02-032-169/+153
* Return EPERM if mutex owner is not current thread but it tries toDavid Xu2004-01-171-18/+3
* Add a simple work-around for deadlocking on recursive read locksDaniel Eischen2004-01-083-48/+86
* Kernel now supports per-thread sigaltstack, follow the change toDavid Xu2004-01-031-6/+1
* Return error code in errno, not in return value.David Xu2004-01-021-3/+6
* Fix a typo.David Xu2004-01-021-1/+1
* Forgot to commit this file for last commit. :(David Xu2003-12-291-0/+4
* Implement sigaltstack() as per-threaded. Current only scope process threadDavid Xu2003-12-294-24/+231
* Correctly retrieve sigaction flags.David Xu2003-12-281-2/+2
* Replace a comment with more accurated one, memory heap is now protected byDavid Xu2003-12-191-3/+2
* Code clean up, remove unused MACROS and function prototypes.David Xu2003-12-191-18/+0
* accept() returns a file descriptor when it succeeds which is veryDaniel Eischen2003-12-092-2/+2
* Remove an unused struct definition.Daniel Eischen2003-12-091-12/+0
* Add cancellation points for accept() and connect().Daniel Eischen2003-12-094-0/+102
* Use mutex instead of low level thread lock to implement spinlock, thisDavid Xu2003-12-091-30/+18
* Rename _thr_enter_cancellation_point to _thr_cancel_enter, renameDavid Xu2003-12-0930-136/+148
* More reliably check timeout for pthread_mutex_timedlock.David Xu2003-12-091-1/+1
* Go back to using rev 1.18 where thread locks are used instead of KSEDaniel Eischen2003-12-081-17/+16
* 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