[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #33138] .PARLLELSYNC enhancement with patch

From: Frank Heckenbach
Subject: Re: [bug #33138] .PARLLELSYNC enhancement with patch
Date: Fri, 19 Apr 2013 11:54:05 +0200

Eli Zaretskii wrote:

> Initial investigation indicates that tmpfile should do the job just
> fine: the file is deleted only when the last descriptor for it is
> closed.  That includes any duplicated descriptors.


> As for fcntl, F_SETLKW, and F_GETFD, they will need to be emulated.
> In particular, it looks like LockFileEx with LOCKFILE_EXCLUSIVE_LOCK
> flag set and LOCKFILE_FAIL_IMMEDIATELY flag cleared should do the
> job.  I will need to see how it works in reality, though.


> Is there a simple enough Makefile somewhere that could be used to test
> this feature, once implemented?

We have a test in the test suite (output-sync). Can you use that?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]