LockFile() and UnlockFile() are working
Alexandre Julliard
julliard at winehq.com
Fri Mar 21 18:59:07 CST 2003
Paul McNett <p at ulmcnett.com> writes:
> I just confirmed... while locking seems to work if two instances of Visual
> Foxpro are running on Wine on the same machine, it DOES NOT work over the
> network. I had one instance on Wine and one instance on WinNT. Both
> instances were interacting with the same table on a third machine. The two
> instances of Visual FoxPro did not respect each other's locks. Bummer.
> Big bummer.
AFAIK the Samba filesystem doesn't support locking. Locks should work
across the network with NFS, but of course from a Windows machine that
might be a problem. I'm afraid we can't do much in Wine, this will
require fixing smbfs.
> So... chances of this ever getting implemented on Wine are, in your opinion,
> pretty slim? If so that's too bad, because I saw a great possibility of
> porting lots of legacy business apps over to Linux using Wine. There are,
> as I said before, a ton of apps out there built on desktop database
> software... bummer.
Actually if you mount with the right options and set the right
permissions on the file, mandatory locking should work. That's the
theory though, I haven't tested it...
--
Alexandre Julliard
julliard at winehq.com
More information about the wine-devel
mailing list