Sorry and the outer loop is the only reader. It probably reports it as a race though since there are multiple writers - but they all write the same value. Technically still a data race depending on if the word splits when writing. On Jul 6, 2024, at 10:20 AM, Robert Engels <reng...@ix.netcom.com> 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 golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/40CF9EFD-6B8B-431A-ABD8-DE994F044156%40ix.netcom.com. |
- [go-nuts] Does data race with only mult... 'qiu laidongfeng2' via golang-nuts
- Re: [go-nuts] Does data race with ... Ian Lance Taylor
- Re: [go-nuts] Does data race w... 'qiu laidongfeng2' via golang-nuts
- Re: [go-nuts] Does data ra... Robert Engels
- Re: [go-nuts] Does dat... Robert Engels
- Re: [go-nuts] Does dat... Jan Mercl
- Re: [go-nuts] Does dat... peterGo
- Re: [go-nuts] Doe... Robert Engels
- Re: [go-nuts] Does data ra... Ian Lance Taylor
- Re: [go-nuts] Does dat... burak serdar
- Re: [go-nuts] Doe... 'Brian Candler' via golang-nuts