Implement flock in WinBoard
authorH.G. Muller <h.g.muller@hccnet.nl>
Mon, 2 May 2011 11:38:14 +0000 (13:38 +0200)
committerH.G. Muller <h.g.muller@hccnet.nl>
Wed, 4 May 2011 16:40:47 +0000 (18:40 +0200)
commite79a7d4e07632ae3a428f4363effffbbb52c7a1d
tree966c7c2e90b1d713f13f2932dd33acdcfeb1c8da
parent851fcd727c71ece843d010c81d15c1a45ddf4e1a
Implement flock in WinBoard

This system function seems unknown in a MinGW compile, so it is
implemented with the aid of file byte-range locking, using a lock on the
first 1024 bytes of the file as a semaphore.
backend.c
winboard/winboard.c