Comment Comment by yencabulator > If the Store() caller goes to sleep between setting the type and storing the pointer, it causes every Goroutine that calls Load() to block.Where does this go to sleep: https://cs.opensource.google/go/go/+/refs/tags/go1.18.3:src/...It looks like a CAS busy loop with preemption disabled, to me. parent yencabulator 4 years ago
Where does this go to sleep: https://cs.opensource.google/go/go/+/refs/tags/go1.18.3:src/...
It looks like a CAS busy loop with preemption disabled, to me.