3 ms·
You don't need locks to access immutable objects (except perhaps for garbage collection). But I agree that transferring control is a bad idea.
by amelius 9y ago
You don't need locks to access immutable objects (except perhaps for garbage collection).
But I agree that transferring control is a bad idea.