Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Antwort: Re: Concurrent access to data file

From: sharriff:aina:med-iq at: 20-Feb-2001 8:39

Hi Michal! I think youŽll have to download a Postscipt viewer for it, for windows use Ghostscript , its freeware... Sharriff Aina CRS - Psy Sel/SPO, An: [rebol-list--rebol--com] COUSSEMENT Kopie: Christophe, CPN Thema: [REBOL] Re: Concurrent access to data file <[COUSSEMENT--C--I] TC.mil.be> Gesendet von: [rebol-bounce--re] bol.com 20.02.01 08:01 Bitte antworten an rebol-list
> 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==]