From owner-freebsd-smp Thu Dec 7 14:33:36 2000 From owner-freebsd-smp@FreeBSD.ORG Thu Dec 7 14:33:34 2000 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 9B00C37B400; Thu, 7 Dec 2000 14:33:33 -0800 (PST) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id RAA12984; Thu, 7 Dec 2000 17:33:12 -0500 (EST) Date: Thu, 7 Dec 2000 17:33:11 -0500 (EST) From: Daniel Eischen To: John Baldwin Cc: smp@FreeBSD.org, Jason Evans Subject: Re: Userland atomic assignments In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 7 Dec 2000, John Baldwin wrote: > On 07-Dec-00 Daniel Eischen wrote: > > Something along the lines of I'd guess. > > I don't need compare and set, nor anything that complicated, > > just a couple of atomic store operations. I'm finding some > > places in libc that could really use an atomic_store_ptr(). > > a = b; should be atomic I think. If its not, then large portions of the kernel > break, IIRC. OK, thanks. I just didn't want to make any assumptions about archs I didn't know. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message