[Box Backup-dev] COMMIT r896 - box/chris/merge/lib/raidfile

Charles Lecklider boxbackup-dev@fluffy.co.uk
Sat, 14 Oct 2006 19:22:54 +0100


Chris Wilson wrote:
> What exactly is the lock protecting against? Simultaneous writes to the
> same file by RaidFileWrite?

I think this is a red herring.

We shouldn't need explicit locking under Win32 if we pass a 0
dwShareMode parameter to CreateFile().

-C