summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread
Commit message (Expand)AuthorAgeFilesLines
* Adaptive mutexes should have the same deadlock detection properties thatkris2007-10-301-0/+1
* Add my recent work of adaptive spin mutex code. Use two environments variabledavidxu2007-10-303-47/+50
* Add a new "non-portable" mutex type, PTHREAD_MUTEX_ADAPTIVE_NP. Thiskris2007-10-291-0/+29
* Use macro THR_CLEANUP_PUSH/POP, they are cheaper than pthread_cleanup_push/pop.davidxu2007-10-161-2/+4
* Reverse the logic of UP and SMP.davidxu2007-10-161-1/+1
* Output error message to STDERR_FILENO.davidxu2007-08-071-1/+1
* backout experimental adaptive spinning mutex for product use.davidxu2007-05-093-9/+0
* If a thread who's name is being set is not the current thread, use macrosdavidxu2007-04-051-2/+2
* Remove 3rd clause, renumber, ok per emailimp2007-01-1221-88/+22
* Insert mutex at tail if it has highest ceiling.davidxu2007-01-051-1/+1
* Oops, don't corrupt the list.davidxu2007-01-051-1/+1
* Check if the PP mutex is recursive, if we have already locked it, place thedavidxu2007-01-051-9/+28
* get LIBPTHREAD_ADAPTIVE_SPIN early, so it can be used for some globaldavidxu2006-12-201-2/+5
* Check environment variable PTHREAD_ADAPTIVE_SPIN, if it is set, usedavidxu2006-12-205-1/+8
* - Remove variable _thr_scope_system, all threads are system scope.davidxu2006-12-154-24/+8
* Create inline function _thr_umutex_trylock2 to only try one atomicdavidxu2006-12-142-3/+11
* Correctly check failed syscall.davidxu2006-12-121-10/+10
* Move checking for c_has_waiters into low level _thr_ucond_signal anddavidxu2006-12-122-16/+12
* test cancel_pending to save a thr_wake call in some specical cases.davidxu2006-12-061-1/+1
* _thr_ucond_wait drops lock, we should pick it up again.davidxu2006-12-051-0/+1
* the c_has_waiters is lazily updated, temporarily disable the falsedavidxu2006-12-051-0/+2
* Use ucond to implement barrier.davidxu2006-12-052-8/+10
* Add _thr_ucond_init().davidxu2006-12-052-3/+10
* Tweak _thr_cancel_leave_defer a bit to fix a possible race.davidxu2006-12-051-3/+7
* Fix typo, I was using a wrong header file, and the typo is not detecteddavidxu2006-12-041-1/+1
* Use kernel provided userspace condition variable to implement pthreaddavidxu2006-12-046-96/+105
* If a thread was detached, return EINVAL instead, the error codedavidxu2006-11-281-1/+1
* Eliminate atomic operations in thread cancellation functions, it shoulddavidxu2006-11-2412-213/+176
* Move code calculating new inherited priority into single function.davidxu2006-11-111-30/+21
* Don't inherit THR_FLAGS_NEED_SUSPEND for child process, child processdavidxu2006-10-141-0/+2
* o Make _thr_umutex_init a function.davidxu2006-10-132-21/+23
* Use type pthread_state for thread state.davidxu2006-10-131-1/+1
* use rtprio_thread system call to get or set thread priority.davidxu2006-09-217-16/+90
* Use return value of _thr_umutex_lock instead of using zero.davidxu2006-09-081-2/+1
* Replace internal usage of struct umtx with umutex which can supportsdavidxu2006-09-0614-158/+94
* Same as pthread_setschedparam, use sizeof(struct sched_param) instead.davidxu2006-09-051-2/+2
* Pass correct parameter size.davidxu2006-09-051-2/+2
* Remove unused file.davidxu2006-08-291-59/+0
* pthread_sigmask is in thr_sig.c, remove this file.davidxu2006-08-281-52/+0
* Kill unused files.davidxu2006-08-282-187/+0
* Use umutex APIs to implement pthread_mutex, member pp_mutexq is addeddavidxu2006-08-284-73/+116
* Add umutex APIs.davidxu2006-08-282-0/+92
* Axe unused member field.davidxu2006-08-082-12/+2
* Get number of CPUs and ignore spin count on single processor machine.davidxu2006-08-083-6/+15
* 1. Don't override underscore version of aio_suspend(), system(),davidxu2006-07-253-78/+169
* Unexpand two TAILQ_FOREACH_SAFE cases.delphij2006-07-172-4/+2
* Caching scheduling policy and priority in userland, a critical but baddlydavidxu2006-07-135-20/+50
* Use thr_setscheduler, thr_getscheduler and thr_setschedparam to implementdavidxu2006-07-134-26/+15
* Use kernel facilities to support real-time scheduling.davidxu2006-07-127-124/+103
* Remove unused member.davidxu2006-06-031-1/+0
OpenPOWER on IntegriCloud