Hi, I am having issues with some concurrency and race conditions.
I believe this is not doing what I think it does. IE I am thinking this would allow locking of any variable in the struct however it does not seem to be applying to buffer of type bytes.Buffer. What am I missing here? I have: type sendBuffer struct { mux sync.RWMutex buffer bytes.Buffer sendTimer *time.Timer //Used for SQS only sendMessageHandles map[string]bool } Thanks, Anthony -- 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 golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.