Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/mips/include

Module Name:    src
Committed By:   pooka
Date:           Mon Jan 12 03:05:10 UTC 2009

Modified Files:
        src/sys/arch/mips/include: lock.h

Log Message:
Use userspace version unless _HARDKERNEL.  Otherwise we use atomic
cas to implement spinlocks and spinlocks to implement atomic cas....
which might suck.

Since the userspace version uses ll/sc, which doesn't exist on
R2000/R3000, rump will not work on those platforms.  *snif* (well,
pthread in general AFAICT).

To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 src/sys/arch/mips/include/lock.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index