"git@repo.hca.bsc.es:rferrer/llvm-epi-0.8.git" did not exist on "38d6c9a8170e7126a5a2373a29789eda8a57ee74"
Despite my pathological distrust of spin locks, the number just don't lie. ...
Despite my pathological distrust of spin locks, the number just don't lie. I've put a small spin in __sp_mut::lock() on std::mutex::try_lock(), which is testing quite well. In my experience, putting in a yield for every failed iteration is also a major performance booster. This change makes one of the performance tests I was using (a highly contended one) run about 20 times faster. llvm-svn: 160967
Loading
Please register or sign in to comment