2 ms·
> is there a problem with sharing data across goroutines when access to/mutation of said data is controlled by a mutex? Well aside from the deadlock or priorit
by rdtsc 12y ago
> is there a problem with sharing data across goroutines when access to/mutation of said data is controlled by a mutex?
Well aside from the deadlock or priority inversion of sorts that should work. Just like it would work in C/C++/Java etc.
The real problem is when the shared data is not controlled by a mutex, but should be.