22 Oct
2015
22 Oct
'15
7:57 a.m.
On 22 Oct 2015 3:26 a.m.,
The yield can be removed without any ill effect except in cases of
over-subscription. Without the yield performance is *very* poor because the thread is forced to wait for other threads that aren't even running (lines 355 & 378)... Basically the yield is only a work-around for something that is undesirable anyway (over-subsciption), but it limits the 'damage' in those scenarios. It seems to me then it is not really lock free then, right?