|
From: | Jean Abou Samra |
Subject: | Re: [PATCH] Add atomic-box-update! function to (ice-9 atomic) |
Date: | Wed, 21 Jun 2023 11:06:51 +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.
signature.asc
Description: This is a digitally signed message part
[Prev in Thread] | Current Thread | [Next in Thread] |