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

[REBOL] Re: Concurrent access to data file

From: coussement::c::itc::mil::be at: 19-Feb-2001 16:30

> 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 !]
> 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== ]