3 ms·
If you ever intend to read that v.foo value in another goroutine, then that edit needs to be before freeing the lock as well.
by Strom 11y ago
If you ever intend to read that v.foo value in another goroutine, then that edit needs to be before freeing the lock as well.