Hacker News new | ask | show | jobs
by jy3 1803 days ago
Just implement methods in your config struct in such a way that they are safe for concurrent access?! Using a mutex for example.

Why would you need it to lock mutexes everywhere?