|
|
|
|
|
by mattkrea
3984 days 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. |
|