Hi,

"CRS - Psy Sel/SPO, COUSSEMENT Christophe, CPN" wrote:
> 
> > 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.

> > 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 not familiar with post-script files. Which soft do you use to
> read it ?]
> 
> > HTH,
> >
> > --
> > Michal Kracik
>         [
>         Thanks for your answer,
> 
>         chr==
>         ]
> 
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.

-- 
Michal Kracik
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to