Files
Nim/lib
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
..
2017-02-20 17:24:19 +02:00
2024-03-25 10:59:18 +01:00
2013-03-16 23:53:07 +01:00
2021-06-03 14:00:53 +02:00