Subject: CVS commit: src/lib/libpthread
To: None <source-changes@NetBSD.org>
From: Nick Hudson <skrll@netbsd.org>
List: source-changes
Date: 09/24/2007 12:19:40
Module Name:	src
Committed By:	skrll
Date:		Mon Sep 24 12:19:40 UTC 2007

Modified Files:
	src/lib/libpthread: pthread_int.h pthread_lock.c
	src/lib/libpthread/arch/hppa: _context_u.S pthread_md.h
	src/lib/libpthread/arch/i386: pthread_md.h
	src/lib/libpthread/arch/x86_64: pthread_md.h

Log Message:
Resurrect the function pointers for lock operations and allow each
architecture to provide asm versions of the RAS operations.

We do this because relying on the compiler to get the RAS right is not
sensible. (It gets alpha wrong and hppa is suboptimal)

Provide asm RAS ops for hppa.

(A slightly different version) reviewed by Andrew Doran.


To generate a diff of this commit:
cvs rdiff -r1.55 -r1.56 src/lib/libpthread/pthread_int.h
cvs rdiff -r1.28 -r1.29 src/lib/libpthread/pthread_lock.c
cvs rdiff -r1.1 -r1.2 src/lib/libpthread/arch/hppa/_context_u.S
cvs rdiff -r1.3 -r1.4 src/lib/libpthread/arch/hppa/pthread_md.h
cvs rdiff -r1.9 -r1.10 src/lib/libpthread/arch/i386/pthread_md.h
cvs rdiff -r1.5 -r1.6 src/lib/libpthread/arch/x86_64/pthread_md.h

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