5 ms·
When it comes to accessing shared data it's often much simpler and more efficient to use a lock to protect that data. Channels are good in other scenarios.
by aaronbee 11y ago
When it comes to accessing shared data it's often much simpler and more efficient to use a lock to protect that data.
Channels are good in other scenarios.