2 ms·
>> If you eliminate shared state, you have no reason to misuse those synchronization primitives. A multi-threaded program that doesn't need to share state prob
by jebblue 13y ago
>> If you eliminate shared state, you have no reason to misuse those synchronization primitives.
A multi-threaded program that doesn't need to share state probably isn't the usual case, not from my experience anyway.
Locks are not evil, think of a railway station, there are sections of track that must be shared by multiple trains.