summaryrefslogtreecommitdiffstats
path: root/lib/librthread/arch/amd64/rfork_thread.S (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tfork_thread has been moved to libcguenther2012-03-221-94/+0
|
* Reimplement mutexes, condvars, and rwlocks to eliminate bugs,guenther2012-01-171-3/+3
| | | | | | | | | | | | | particularly the "consume the signal you just sent" hang, and putting the wait queues in userspace. Do cancellation handling in pthread_cond_*wait(), pthread_join(), and sem_wait(). Add __ prefix to thr{sleep,wakeup,exit,sigdivert}() syscalls; add 'abort" argument to thrsleep to close cancellation race; make thr{sleep,wakeup} return errno values via *retval to avoid touching userspace errno.
* Use __tfork, __get_tcb, and __set_tcb to have a real TCB and per-threadguenther2011-10-171-6/+6
| | | | | errno. The ASM bits for _cerror are sketchy or missing for some archs but that can be corrected in-tree.
* Convert rfork_thread() from int$80 to syscall.guenther2011-10-131-18/+12
| | | | | | | Tune the asm slightly to avoid using the stack and use smaller instructions. Pass threxit() a NULL pointer. seemed okay to kettenis@
* rfork_thread() lacked PIC handling for CERROR, resulting in a text relocationguenther2009-09-241-1/+6
| | | | ok kettenis@, art@
* if the start routine returns (never happens), call the right threxit syscalltedu2005-12-251-6/+2
|
* add userland thread library. incomplete, but functionaltedu2005-12-031-0/+99