4 ms·
Lock free structures typically have worse average or even uniformly worse performance. The issue is what happens under contention or predictability. Lock freedo
by greenleafjacob 10y ago
Lock free structures typically have worse average or even uniformly worse performance. The issue is what happens under contention or predictability. Lock freedom guarantees that at least one process makes progress whereas with locks a process can acquire a lock and get switched between cores or get GC paused or whatever.