> I'm familiar with (and greatly appreciate!) the guarantees regarding > overflow for ordinary integer arithmetic in the Go spec
Which guarantees? > but I've been > unable to locate anything that reassures me that similar guarantees apply > for the sync/atomic.Add* functions. Is there any official statement anywhere > on this subject? The documentation says "adds delta to *addr" so I think it's safe to assume the same arithmetic semantics as +. -Caleb -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
