summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread
Commit message (Expand)AuthorAgeFilesLines
* Implement syscall clock_getcpuclockid2, so we can get a clock iddavidxu2012-08-171-1/+3
* Do defered mutex wakeup once.davidxu2012-08-121-0/+1
* MFp4:davidxu2012-08-115-24/+38
* Don't forget to initialize return value.davidxu2012-07-201-1/+1
* Simplify code by replacing _thr_ref_add() with _thr_find_thread().davidxu2012-07-201-5/+1
* Eliminate duplicated code.davidxu2012-07-201-19/+10
* Don't assign same value.davidxu2012-07-202-6/+4
* Eliminate duplicated code.davidxu2012-07-201-29/+14
* Eliminate duplicated code.davidxu2012-07-201-30/+16
* Don't forget to release a thread reference count,davidxu2012-07-201-4/+2
* Return EBUSY for PTHREAD_MUTEX_ADAPTIVE_NP too when the mutex could notdavidxu2012-05-271-0/+1
* Create a common function lookup() to search a chan, this eliminatesdavidxu2012-05-101-5/+9
* Fix mis-merged line, move SC_LOOKUP() call todavidxu2012-05-051-1/+1
* MFp4:davidxu2012-05-033-1/+10
* Set SIGCANCEL to SIGTHR as part of some cleanup of DTrace code.gnn2012-04-181-1/+1
* umtx operation UMTX_OP_MUTEX_WAKE has a side-effect that it accessesdavidxu2012-04-052-5/+18
* libthr: In the atfork handlers for signals, do not skip the last signal.jilles2012-03-261-3/+3
* Use clockid parameter instead of hard-coded CLOCK_REALTIME.davidxu2012-03-191-1/+1
* Some software think a mutex can be destroyed after it owned it, fordavidxu2012-03-181-7/+0
* When destroying a barrier, waiting all threads exit the barrier,davidxu2012-03-162-4/+31
* Follow changes made in revision 232144, pass absolute timeout to kernel,davidxu2012-02-273-30/+37
* In revision 231989, we pass a 16-bit clock ID into kernel, howeverdavidxu2012-02-251-17/+32
* Use unused fourth argument of umtx_op to pass flags to kernel for operationdavidxu2012-02-221-13/+3
* Check both seconds and nanoseconds are zero, only checking nanosecondsdavidxu2012-02-191-1/+1
* Make code more stable by checking NULL pointers.davidxu2012-02-111-2/+6
* Plug a memory leak. When a cached thread is reused, don't clear sleepdavidxu2012-02-072-12/+19
* Use getcontextx(3) internal API instead of getcontext(2) to providekib2012-01-211-4/+13
* Pass CVWAIT flags to kernel, this should handledavidxu2011-11-171-3/+2
* Do not set thread name to less than informative 'initial thread'.kan2011-06-191-1/+0
* r179417 introduced a bug into pthread_once(). Previously pthread_once()rstone2011-04-201-0/+2
* Introduce a non-portable function pthread_getthreadid_np(3) to retrievejkim2011-02-072-0/+49
* Fix a typo.davidxu2011-01-111-1/+1
* For the process that already loaded libthr but still not initializedkib2011-01-101-0/+26
* Implement the __pthread_map_stacks_exec() for libthr.kib2011-01-094-1/+51
* Return 0 instead of garbage value.davidxu2011-01-061-2/+1
* Because sleepqueue may still being used, we should always check wchan withdavidxu2011-01-041-6/+0
* Always clear flag PMUTEX_FLAG_DEFERED when unlocking, as it is onlydavidxu2010-12-241-2/+2
* Add sleep queue code.davidxu2010-12-221-0/+175
* MFp4:davidxu2010-12-229-191/+666
* Use sysctl kern.sched.cpusetsize to retrieve size of kernel cpuset.davidxu2010-11-021-8/+5
* Return previous sigaction correctly.davidxu2010-10-291-1/+4
* Remove local variable 'first', instead check signal number in memory,davidxu2010-10-291-4/+1
* Check small set and reject it, this is how kernel did. Always use thedavidxu2010-10-271-37/+32
* - Revert r214409.davidxu2010-10-271-5/+6
* Remove locking and unlock in pthread_mutex_destroy, becausedavidxu2010-10-271-25/+2
* Fix typo.davidxu2010-10-251-1/+1
* Get cpuset in pthread_attr_get_np() and free it in pthread_attr_destroy().davidxu2010-10-252-10/+31
* Revert revision 214007, I realized that MySQL wants to resolvedavidxu2010-10-203-48/+2
* Set default type to PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, thisdavidxu2010-10-181-0/+1
* s/||/&&davidxu2010-10-181-2/+2
OpenPOWER on IntegriCloud