Closed computablee closed 10 months ago
It would be excellent to incorporate atomic subtraction for unsigned types. E.g. Atomic.Sub(ref uint, uint) and Atomic.Sub(ref ulong, ulong). Unsafe.As<T> should be sufficient for this purpose.
Atomic.Sub(ref uint, uint)
Atomic.Sub(ref ulong, ulong)
Unsafe.As<T>
Self-assigning this issue.
It would be excellent to incorporate atomic subtraction for unsigned types. E.g.
Atomic.Sub(ref uint, uint)
andAtomic.Sub(ref ulong, ulong)
.Unsafe.As<T>
should be sufficient for this purpose.Self-assigning this issue.