summaryrefslogtreecommitdiffstats
path: root/sys/arch/sh/include/spinlock.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move mutex, condvar, and thread-specific data routes, pthread_once, andguenther2017-09-051-5/+1
| | | | | | | | 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@
* Use a simpler typedef to avoid depending upon <sys/types.h>; repairs librthreadmiod2013-06-041-2/+2
| | | | build.
* cleanup and consolidate the spinlock_lock (what a name!) code.tedu2013-06-011-4/+8
| | | | | | | | | | 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)
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-8/+1
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* match other architectures: _spinlock_lock_t is not volatile itself, butderaadt2006-11-141-2/+2
| | | | code that uses it declares a volatile form
* Preliminary bits for SuperH-based ports, based on NetBSD/sh3 codebase withmiod2006-10-061-0/+52
minor changes.