3 ms·
This seems like fairly boilerplate code to make sure you don't encounter conflicts in the scheduler across various goroutines. I'm curious how long the wait wa
by mattkrea 11y ago
This seems like fairly boilerplate code to make sure you don't encounter conflicts in the scheduler across various goroutines.
I'm curious how long the wait was as it had to be pretty serious to explicitly make the code thread unsafe to "fix" it.