Files
Nim/lib/system
Jaremy Creechley 280f877145 fix atomicarc increment (#23427)
The fix to the atomicArc looks to use `-1` as the check value from the
`SharedPtr` solution. However, it should be `-rcIncrement` since the
refcount is bit shifted in ARC/ORC.

I discovered this playing around doing atomic updates of refcounts in a
user library.

Related to https://github.com/nim-lang/Nim/issues/22711 

@ringabout I believe you ported the sharedptr fix?
2024-03-25 10:59:18 +01:00
..
2024-03-25 10:59:18 +01:00
2022-12-16 08:01:15 +01:00
2023-11-06 07:57:29 +01:00
2020-05-12 15:46:24 +02:00
2022-12-26 13:20:05 +01:00
2020-01-30 10:54:50 +01:00