guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add atomic-box-update! function to (ice-9 atomic)


From: Jean Abou Samra
Subject: Re: [PATCH] Add atomic-box-update! function to (ice-9 atomic)
Date: Wed, 21 Jun 2023 11:06:13 +0200
User-agent: Evolution 3.48.3 (3.48.3-1.fc38)

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: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]