comparison hgeditor @ 26081:3b6e5914edd8

lock: loop a finite number of times in trylock (issue4787) ..before falling back to lock, which will sleep. This only addresses the CPU consumption of the reported issue.
author Matt Mackall <mpm@selenic.com>
date Mon, 24 Aug 2015 13:24:43 -0500
parents 2b440bb8a66b
children 1aee2ab0f902
comparison
equal deleted inserted replaced
26080:83c9edcac05c 26081:3b6e5914edd8