Fix bad counting mechanism in Lock which was preventing it from retrying as often as it should.
Fix bad counting mechanism in Lock which was preventing it from retrying as
often as it should.


git-svn-id: 0e6074679e66e8f1cc73dfc755b08bab367f805b@1084044 13f79535-47bb-0310-9956-ffa450edef68

kidaa/lucy,pombredanne/apache-lucy,rbevers/lucy,kidaa/lucy,pombredanne/apache-lucy,rbevers/lucy,kidaa/lucy,nwellnhof/lucy,apache/lucy,rbevers/lucy,nwellnhof/lucy,kidaa/lucy,kidaa/lucy,rbevers/lucy,rbevers/lucy,kidaa/lucy,apache/lucy,pombredanne/apache-lucy,pombredanne/apache-lucy,rbevers/lucy,rectang/lucy,nwellnhof/lucy,apache/lucy,nwellnhof/lucy,pombredanne/apache-lucy,apache/lucy,nwellnhof/lucy,rectang/lucy,rectang/lucy,rectang/lucy,rectang/lucy,rectang/lucy,apache/lucy,kidaa/lucy,nwellnhof/lucy,pombredanne/apache-lucy,apache/lucy,rbevers/lucy,rectang/lucy,nwellnhof/lucy,kidaa/lucy,apache/lucy,pombredanne/apache-lucy