3 ms·
I just used a mutex here: https://github.com/andrewarrow/feedback/blob/master/stats/memory.go#L32 https://github.com/andrewarrow/feedback/blob/master/stats/me.
by andrewfromx 4y ago
I just used a mutex here:
https://github.com/andrewarrow/feedback/blob/master/stats/memory.go#L32 https://github.com/andrewarrow/feedback/blob/master/stats/me...
Multiple go routines will call this method at same time but:
https://github.com/andrewarrow/feedback/blob/master/router/path.go#L46 https://github.com/andrewarrow/feedback/blob/master/router/p...
Where I call it I start a new go routine so nothing is ever waiting on that mutex right?