summaryrefslogtreecommitdiffstats
path: root/lib/librthread/arch/m68k (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Retire hp300, mvme68k and mvme88k ports. These ports have no users, keepingmiod2014-03-182-90/+0
| | | | | | | this hardware alive is becoming increasingly difficult, and I should heed the message sent by the three disks which have died on me over the last few days. Noone sane will mourn these ports anyway. So long, and thanks for the fish.
* 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)
* Userland bits for m68k/ELF. Mostly addition of register prefixes to themiod2013-02-021-12/+11
| | | | | assembler instructions, and cope with the few changes in return values location.
* Convert cpp | as rules in bsd.lib.mk and lib/libc/sys/Makefile.inc to pure ccpascal2012-08-221-2/+2
| | | | | | | invocations. This allows us to use the compiler builtin define __PIC__ to check for PIC/PIEness rather than passing -DPIC. Simplifies PIE work a lot. ok matthew@, conceptually ok kurt@
* tfork_thread has been moved to libcguenther2012-03-221-70/+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-4/+57
| | | | | errno. The ASM bits for _cerror are sketchy or missing for some archs but that can be corrected in-tree.
* 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
* m68k support code for librthread; atomic lock routine borrowed from themiod2005-12-232-0/+106
existing libpthread code.