From owner-freebsd-ia64 Wed Oct 10 12: 7:33 2001 Delivered-To: freebsd-ia64@freebsd.org Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by hub.freebsd.org (Postfix) with ESMTP id 3C5BE37B405; Wed, 10 Oct 2001 12:07:29 -0700 (PDT) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.3/8.11.3) with ESMTP id f9AJ7S806530; Wed, 10 Oct 2001 12:07:28 -0700 (PDT) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 10 Oct 2001 12:07:28 -0700 (PDT) Organization: Polstra & Co., Inc. From: John Polstra To: John Baldwin Subject: RE: rtld -- atomic ops Cc: ia64@FreeBSD.org, Doug Rabson Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org John Baldwin wrote: > On 10-Oct-01 John Polstra wrote: >>> >> That would be great, as far as I'm concerned. Note, the reader/writer >> locks used by the dynamic linker require something resembling an >> atomic compare and exchange operation. > > That's exactly what atomic_cmpset() is. :) Although it doesn't guarantee an > exchange (i.e., it doesn't return the old value if the cmp succeeds). That's not a problem. John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message