summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/arch
Commit message (Collapse)AuthorAgeFilesLines
* Directly load %edx from mailboxdavidxu2002-11-231-4/+3
|
* In _thread_enter_uts, fix eflags saving bug.davidxu2002-11-222-7/+15
| | | | | | | | In _thread_switch, set current thread pointer in kse mailbox only after all registers copied out of thread mailbox, kernel will do upcall at trap time, if set current thread pointer before loading all registers from thread mailbox, at trap time, the thread mailbox data will be overwritten by kernel, result is junk data is loaded into CPU.
* Adjust code for new mailbox format.davidxu2002-11-181-3/+3
| | | | Reviewed by: deischen, mini
* Use KSE to schedule threads.mini2002-10-302-0/+185
|
* Add an ia64 atomic lock primitive for libc_r. This is mostly forpeter2002-07-201-0/+48
| | | | | | | | | | completeness and doesn't get us a working libc_r there because libc_r uses setjmp() and setjmp() cannot be used for context switches on ia64 as-is (or sparc64). Rather than making setjmp/longjmp behave like the *context() calls, it would be far better to make libc_r use *context() directly which is what they are for. Obtained from: marcel
* Change #include "DEFS.h" to <machine/asm.h>.peter2001-10-251-1/+1
|
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-131-3/+0
|
* $Id$ -> $FreeBSD$peter1999-08-282-3/+3
|
* Change to a code sequence which is more likely to work on SMP systems.dfr1998-09-161-20/+8
| | | | Now all I need is an alpha SMP box to port FreeBSD to :-)
* Delete the atomic unlock function since it is no longer required.jb1998-06-091-15/+5
| | | | | Simplify the atomic lock to just write a value of 1 to the lock instead of taking the value passed by the caller (which just confused things).
* Atomic lock asm code for the alpha version of libc_r.jb1998-06-091-0/+57
|
* Atomic lock source.jb1998-04-291-0/+55
OpenPOWER on IntegriCloud