Fix write failures in concurrency
authorH.G. Muller <h.g.muller@hccnet.nl>
Tue, 13 Sep 2011 17:55:44 +0000 (19:55 +0200)
committerH.G. Muller <h.g.muller@hccnet.nl>
Tue, 13 Sep 2011 21:05:34 +0000 (23:05 +0200)
commit8e2df8ca84410f38449ed544cf115d2c470a52c5
tree2860fc1c136304a20c49372ce9e2dd9fa5e8bfa1
parent4103b43cdbc7412da6a2a95e0e1882a3872a2d12
Fix write failures in concurrency

In WinBoard a flood of writes by differentprocesses to the same PGN can
cause a "permission denied" error in fopen. This patch causes retries after
a random (5-15 msec) wait, in such cases.
backend.c