Date: Wed, 3 Sep 2003 10:56:26 -0700 (PDT) From: Daniel Eischen <deischen@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: 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 ... Message-ID: <200309031756.h83HuQu1007658@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309031756.h83HuQu1007658>