From: Jean Abou Samra <jean@abou-samra.fr>
To: Andrew Tropin <andrew@trop.in>, guile-devel@gnu.org
Subject: Re: [PATCH] Add atomic-box-update! function to (ice-9 atomic)
Date: Wed, 21 Jun 2023 11:06:13 +0200 [thread overview]
Message-ID: <df6c4a9a2995d10144ae24ef521f0c788a8fce38.camel@abou-samra.fr> (raw)
In-Reply-To: <87jzvztzi3.fsf@trop.in>
[-- Attachment #1.1: Type: text/plain, Size: 277 bytes --]
Le lundi 19 juin 2023 à 16:20 +0400, Andrew Tropin a écrit :
> + (if (eq? old-value (atomic-box-compare-and-swap! box old-value new-value))
Are you sure eq? is a good idea here? (eq? 5 5) is unspecified, for example. Perhaps eqv? would be more appropriate.
[-- Attachment #1.2: Type: text/html, Size: 772 bytes --]
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2023-06-21 9:06 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-19 12:20 [PATCH] Add atomic-box-update! function to (ice-9 atomic) Andrew Tropin
2023-06-21 9:06 ` Jean Abou Samra [this message]
2023-06-21 9:06 ` Jean Abou Samra
2023-06-21 16:46 ` Andrew Tropin
2023-06-21 16:54 ` Jean Abou Samra
2023-06-22 3:59 ` Andrew Tropin
2023-06-22 5:21 ` Philip McGrath
2023-06-22 9:02 ` Andrew Tropin
2023-06-22 21:42 ` Philip McGrath
2023-07-13 3:30 ` Andrew Tropin
2023-08-22 10:51 ` Andrew Tropin
2023-08-22 10:59 ` [PATCH v2] " Andrew Tropin
2023-08-22 17:51 ` Maxime Devos
2023-08-24 16:19 ` Andrew Tropin
2023-08-24 15:38 ` [PATCH v3] " Andrew Tropin
2023-09-20 8:17 ` [PATCH v4] " Andrew Tropin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=df6c4a9a2995d10144ae24ef521f0c788a8fce38.camel@abou-samra.fr \
--to=jean@abou-samra.fr \
--cc=andrew@trop.in \
--cc=guile-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).