summaryrefslogtreecommitdiffstats
path: root/lib/librthread/arch/sparc64/_atomic_lock.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move mutex, condvar, and thread-specific data routes, pthread_once, andguenther2017-09-051-41/+0
| | | | | | | | pthread_exit from libpthread to libc, along with low-level bits to support them. Major bump to both libc and libpthread. Requested by libressl team. Ports testing by naddy@ ok kettenis@
* cleanup and consolidate the spinlock_lock (what a name!) code.tedu2013-06-011-6/+6
| | | | | | | | | | it's now atomic_lock to better reflect its usage, and librthread now features a new spinlock that's really a ticket lock. thrlseep can handle both types of lock via a flag in the clock arg. (temp back compat hack) remove some old stuff that's accumulated along the way and no longer used. some feedback from dlg, who is concerned with all things ticket lock. (you need to boot a new kernel before installing librthread)
* 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@
* 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-251-0/+41
libpthread code).