From owner-cvs-src@FreeBSD.ORG Wed Sep 3 10:56:27 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D741F16A4BF; Wed, 3 Sep 2003 10:56:27 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5338F43F93; Wed, 3 Sep 2003 10:56:27 -0700 (PDT) (envelope-from deischen@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h83HuR0U007659; Wed, 3 Sep 2003 10:56:27 -0700 (PDT) (envelope-from deischen@repoman.freebsd.org) Received: (from deischen@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h83HuQu1007658; Wed, 3 Sep 2003 10:56:26 -0700 (PDT) Message-Id: <200309031756.h83HuQu1007658@repoman.freebsd.org> From: Daniel Eischen Date: Wed, 3 Sep 2003 10:56:26 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD 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 ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2003 17:56:28 -0000 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