[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.
signature.asc
Description: This is a digitally signed message part
- [PATCH] Add atomic-box-update! function to (ice-9 atomic), Andrew Tropin, 2023/06/19
- Re: [PATCH] Add atomic-box-update! function to (ice-9 atomic),
Jean Abou Samra <=
- Re: [PATCH] Add atomic-box-update! function to (ice-9 atomic), Jean Abou Samra, 2023/06/21
- Re: [PATCH] Add atomic-box-update! function to (ice-9 atomic), Andrew Tropin, 2023/06/21
- Re: [PATCH] Add atomic-box-update! function to (ice-9 atomic), Jean Abou Samra, 2023/06/21
- Re: [PATCH] Add atomic-box-update! function to (ice-9 atomic), Andrew Tropin, 2023/06/21
- Re: [PATCH] Add atomic-box-update! function to (ice-9 atomic), Philip McGrath, 2023/06/22
- Re: [PATCH] Add atomic-box-update! function to (ice-9 atomic), Andrew Tropin, 2023/06/22
- Re: [PATCH] Add atomic-box-update! function to (ice-9 atomic), Philip McGrath, 2023/06/22