summaryrefslogtreecommitdiffstats
path: root/lib/librthread/arch/arm/_atomic_lock.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move mutex, condvar, and thread-specific data routes, pthread_once, andguenther2017-09-051-49/+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@
* Now that all non-ARMv7 platforms are gone, tedu the legacy atomicpatrick2017-01-051-10/+3
| | | | | | locking code. ok kettenis@
* replace 0xf57ff05f with dmb syjsg2016-04-091-2/+2
| | | | spotted by guenther
* Following the ARM manuals and cookbooks, ldrex/strex don't have implicitpatrick2013-08-281-1/+2
| | | | | | | barriers. Therefore it is required to add a memory berrier, so that it is ensured that all observers observed the change. ok rapha@
* Make arm compile again. -mojmaja2013-06-021-1/+2
|
* cleanup and consolidate the spinlock_lock (what a name!) code.tedu2013-06-011-7/+7
| | | | | | | | | | 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)
* ARMv7 doesn't support the atomic SWP instruction anymore. Use the atomicpatrick2013-01-231-1/+12
| | | | | | load and store instructions instead. ok miod@
* Use the system include <spinlock.h> to get the proper functionmarc2006-01-051-2/+2
| | | | prototype for _atomic_lock
* Initial versions of arm code, in-tree development (not yet working).drahn2005-12-141-0/+43