cvs commit: src/lib/libpthread/arch/alpha/include atomic_ops.h
src/lib/libpthread/arch/amd64/include
atomic_ops.h src/lib/libpthread/arch/i386/include atomic_ops.h
src/lib/libpthread/sys lock.c lock.h src/lib/libpthread/thread
thr_creat.c thr_pause.c thr_sleep.c thr_system.c thr_tcdrain.c ...
Daniel Eischen
deischen at FreeBSD.org
Wed Sep 3 10:56:28 PDT 2003
deischen 2003/09/03 10:56:26 PDT
FreeBSD src repository
Modified files:
lib/libpthread/arch/alpha/include atomic_ops.h
lib/libpthread/arch/amd64/include atomic_ops.h
lib/libpthread/arch/i386/include atomic_ops.h
lib/libpthread/sys lock.c lock.h
lib/libpthread/thread thr_creat.c thr_pause.c thr_sleep.c
thr_system.c thr_tcdrain.c thr_wait.c
thr_wait4.c thr_waitpid.c
Log:
Don't assume sizeof(long) = sizeof(int) on x86; use int
instead of long types for low-level locks.
Add prototypes for some internal libc functions that are
wrapped by the library as cancellation points.
Add memory barriers to alpha atomic swap functions (submitted
by davidxu).
Requested by: bde
Revision Changes Path
1.2 +17 -0 src/lib/libpthread/arch/alpha/include/atomic_ops.h
1.2 +11 -3 src/lib/libpthread/arch/amd64/include/atomic_ops.h
1.3 +6 -6 src/lib/libpthread/arch/i386/include/atomic_ops.h
1.6 +11 -11 src/lib/libpthread/sys/lock.c
1.6 +1 -1 src/lib/libpthread/sys/lock.h
1.7 +2 -0 src/lib/libpthread/thread/thr_creat.c
1.7 +2 -0 src/lib/libpthread/thread/thr_pause.c
1.7 +2 -0 src/lib/libpthread/thread/thr_sleep.c
1.7 +2 -0 src/lib/libpthread/thread/thr_system.c
1.7 +2 -0 src/lib/libpthread/thread/thr_tcdrain.c
1.7 +2 -0 src/lib/libpthread/thread/thr_wait.c
1.18 +3 -0 src/lib/libpthread/thread/thr_wait4.c
1.7 +2 -0 src/lib/libpthread/thread/thr_waitpid.c
More information about the cvs-src
mailing list