Switching to pointer receivers everywhere actually makes this worse. Any access is potentially a data race. It stills seems like this is a compiler issue. There needs to be a way to synchronize the pointer to value copy in conjunction with other synchronization. The only way to do this would be to write your own pointer to value conversion methods that have synchronization. On Nov 14, 2023, at 8:36 PM, Mike Schinkel <m...@newclarity.net> 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/F4895A80-66A0-4957-B369-0CDFD6DB16EA%40ix.netcom.com. |
- [go-nuts] Re: Is "When in doubt, use ... Mike Schinkel
- Re: [go-nuts] Re: Is "When in do... 'Dan Kortschak' via golang-nuts
- Re: [go-nuts] Re: Is "When i... Robert Engels
- Re: [go-nuts] Re: Is "Wh... Robert Engels
- Re: [go-nuts] Re: Is &quo... Robert Engels
- Re: [go-nuts] Re: Is "When i... Mike Schinkel
- Re: [go-nuts] Re: Is "Wh... burak serdar
- Re: [go-nuts] Re: Is &quo... burak serdar
- Re: [go-nuts] Re: Is... Marvin Renich
- Re: [go-nuts] Re: Is &quo... Mike Schinkel
- Re: [go-nuts] Re: Is... Robert Engels
- Re: [go-nuts] Re... Marvin Renich
- Re: [go-nuts] Re... Robert Engels
- Re: [go-nuts] Re... Marvin Renich
- [go-nuts] Re: Is "When in doubt,... 'Brian Candler' via golang-nuts
- Re: [go-nuts] Is "When in do... Mike Schinkel
- Re: [go-nuts] Is "When i... Victor Giordano
- Re: [go-nuts] Is "Wh... Mike Schinkel
- Re: [go-nuts] Is &qu... Victor Giordano