Hacker News new | past | comments | ask | show | jobs | submit login

Yes, that was about the original Go documentation. The suggestion still doesn't mention that the difficultly with sync/atomic isn't the memory model per-se but rather the lack of yielding to another goroutine.



Something like `runtime.Gosched()`? https://pkg.go.dev/runtime#Gosched




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: