[REBOL] Re: Concurrent access to data file
From: coussement:c:itc:mil:be at: 20-Feb-2001 9:01
> Hi,
>
> >
> > > Hi,
> > >
> > > the problem was discussed here some time before.
> > [sorry, I didn't got that]
> > > You need some atomic
> > > operation, which cannot be successfully done by two processes at the
> > > same time. One such operation is in most OSes (including Windows NT)
> > > local file rename. Any operation on network drives (NetBios or NFS) is
> > > not atomic, so you cannot rely on it when synchronizing multiple PCs -
> > > file locking suggested by Brett Handley is reliable only with a local
> > > file, not a file on a network disk.
> > [Now, I've learn something ! Thanks !]
> >
>
> Sorry for confusion, rename operation is atomic even on network
> drives. Now I've learnt something from Ladislav ;-) I'm not sure about
> file locking though.
[Thanks for the tip. I will try to test such a solution.]
> > > I think that you should use TCP port on the server as suggested by
> > > Brett Handley. There are also several distributed mutual exclusion
> > > algorithms that don't require a central server, look at this paper for
> > > more information:
> > > http://www.cse.iitk.ac.in/~deepak/cs632/mutual-exclusion.ps
[I'm still interrested in your paper, but still don't know how to
read it.
I apologize for the simplicity of my request, but how can I access a
readable content ?]
> >
> > > HTH,
> > >
> > > --
> > > Michal Kracik
[Best Regards,
chr==]