You are assigning to elements, so no, not allowed. If you have a system where you know all of the keys ahead of time there are much better data structures to use for something like this - simple atomic read and write of the values. On Jul 28, 2026, at 11:15 AM, '[email protected]' via golang-nuts <[email protected]> wrote: -- 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]. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/D608EB32-5FE0-4FC7-A22F-37E9E1E60F66%40me.com. |
Re: [go-nuts] Concurrent Access to Map Values?
'robert engels' via golang-nuts Tue, 28 Jul 2026 10:15:29 -0700
- [go-nuts] Concurrent Access to Map ... '[email protected]' via golang-nuts
- Re: [go-nuts] Concurrent Acces... 'robert engels' via golang-nuts
- Re: [go-nuts] Concurrent Acces... Ian Lance Taylor
- Re: [go-nuts] Concurrent A... 'robert engels' via golang-nuts
- Re: [go-nuts] Concurre... Ian Lance Taylor
- Re: [go-nuts] Conc... 'robert engels' via golang-nuts
- Re: [go-nuts]... Touring Tim
- Re: [go-n... Haddock
