summaryrefslogtreecommitdiffstats
path: root/lib/librthread/arch/sparc64 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tfork_thread has been moved to libcguenther2012-03-221-73/+0
|
* Reimplement mutexes, condvars, and rwlocks to eliminate bugs,guenther2012-01-171-2/+2
| | | | | | | | | | | | | 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-172-6/+60
| | | | | errno. The ASM bits for _cerror are sketchy or missing for some archs but that can be corrected in-tree.
* Deal with the horror that is gcc asm constraints by copying theguenther2011-10-131-4/+2
| | | | | | known good version of ldstub in the kernel. (It's finally in, aja!) ok kettenis@
* Increase the stack offset for the new rthread from (BIAS+128) toguenther2011-10-131-4/+5
| | | | | | | | (BIAD+CC64FSZ) so that there's sufficient space even when _rthread_start is compiled without optimization. Also, clear the frame pointer to help make gdb happier. ok kettenis@
* the license on this is PD; david leonard says soderaadt2008-10-021-1/+3
|
* Use the system include <spinlock.h> to get the proper functionmarc2006-01-051-2/+2
| | | | prototype for _atomic_lock
* sparc64 support code for librthread (_atomic_lock yanked from existingmiod2005-12-252-0/+113
libpthread code).