Re: [go-nuts] sync/mutex locking race condition issues

2018-10-17 Thread Jan Mercl
On Wed, Oct 17, 2018 at 8:37 AM wrote: 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.

[go-nuts] sync/mutex locking race condition issues

2018-10-16 Thread agruetz45
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: