Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2001 12:07:28 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        ia64@FreeBSD.org, Doug Rabson <dfr@nlsystems.com>
Subject:   RE: rtld -- atomic ops
Message-ID:  <XFMail.011010120728.jdp@polstra.com>
In-Reply-To: <XFMail.011010120330.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.011010120728.jdp>