[distcc] cygwin port (distcc V1.1) using native win32 mutexes
mbp at samba.org
Tue Feb 11 00:11:53 GMT 2003
On 10 Feb 2003, Heiko Elger <heiko.elger at gmx.de> wrote:
> cause cygwin doesn't support advisory file locking
> http://cygwin.com/ml/cygwin/2003-01/msg00674.html I do a port
> in using native mutexes for syncronisation.
> I use native win32 mutexes cause I don't no much about in using posix
> syncronisation objects.
Thanks for investigating this, and for the patch.
Please, when you send patches to software, generate them with the -u
option to diff. This includes some context in the patch that allows
it to be merged more reliably and easily, even if the source has
changed since you wrote the patch.
I thought recursive locks would probably be the problem. It might be
cleaner to change distcc to avoid ever locking a single file twice.
That should not require major changes and will make Cygwin work with
no need for Windows-specific code.
More information about the distcc