Please explain me( I dont understand why syncmap - not sync
If i try Load/Store from multiple goroutins - i have vary values with same key in syncmap If i try lock with mutex- all ok. But is syncmap not thread safe by default? Locked version of function: https://github.com/recoilme/slowpoke/blob/master/channel/main.go#L497 And async test: https://github.com/recoilme/slowpoke/blob/master/channel/main_test.go#L100 If i remove lock mutex from load/store of syncmap - test will pass or fail - and i will have muliple values with same key. What i do wrong? -- 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.