Patch to mutex.c
Kaz Kylheku
kaz@ashi.footprints.net
Wed Sep 20 10:20:00 GMT 2000
On Wed, 20 Sep 2000 Neale.Ferguson@SoftwareAG-USA.com wrote:
> Date: Wed, 20 Sep 2000 12:40:54 -0400
> From: Neale.Ferguson@SoftwareAG-USA.com
> To: kaz@ashi.footprints.net
> Cc: libc-alpha@sources.redhat.com
> Subject: RE: Patch to mutex.c
>
> I suppose the 1st question I should have asked is "What is the meaning of
> the value that compare_and_swap returns?"
It's a success indicator. A non-zero value means that the swap was successfully
carried out: the memory location was found to have a value identical to the
old_value parameter, and was thus atomically replaced with the new_value.
More information about the Libc-alpha
mailing list