Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: