Received: by mail.netbsd.org (Postfix, from userid 605) id 3B5AE14A20A; Tue, 18 Feb 2014 13:21:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 4B5DD14A1F0 for ; Tue, 18 Feb 2014 13:21:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id KmhKLx3x-b7N for ; Tue, 18 Feb 2014 13:21:04 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id AF03414A19C for ; Tue, 18 Feb 2014 13:21:04 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id A76FC96; Tue, 18 Feb 2014 13:21:04 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 18 Feb 2014 13:21:04 +0000 From: "Martin Husemann" Subject: CVS commit: src/common/lib/libc/atomic To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20140218132104.A76FC96@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Martin Husemann" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: martin Date: Tue Feb 18 13:21:04 UTC 2014 Modified Files: src/common/lib/libc/atomic: atomic_nand_64_cas.c atomic_sub_64_cas.c atomic_xor_64_cas.c Log Message: Make the _and_fetch_8 primitives return the new value they calculated and set - not whatever is found in memory later. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/common/lib/libc/atomic/atomic_nand_64_cas.c \ src/common/lib/libc/atomic/atomic_sub_64_cas.c \ src/common/lib/libc/atomic/atomic_xor_64_cas.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.