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

how to do simple exclusive open (locking mechanism), without using t

 [1/3] from: carl:rebol at: 6-Jun-2001 10:12


Not every OS supports it, that's why it's not part of Core. -Carl

 [2/3] from: agem::crosswinds::net at: 6-Jun-2001 18:42


Could a way of locking names instead of files be portable? How the locks are implemented would be hidden, but one could say »i want a lock for clean-path %asdf.r«, and some sort of ipc could be used to secure that? Not blocking the file, just reporting »name is locked by another rebol«. Would be enough for most uses? -Volker
>>>>>>>>>>>>>>>>>> Ursprüngliche Nachricht <<<<<<<<<<<<<<<<<<
Am 06.06.01, 18:12:02, schrieb "Carl Sassenrath" <[carl--rebol--com]> zum Thema [REBOL] Re: how to do simple exclusive open (locking mechanism), without using tcp server?:

 [3/3] from: holger:rebol at: 12-Jun-2001 9:06


On Wed, Jun 06, 2001 at 06:56:48PM +0200, Petr Krenzelok wrote:
> Hi, > > today I just experimented with 'open and various refinements, but could not > find any easy way of how to acomplish simple locking mechanism ... > > RT - why there is no open/exclusive? Would be very handy. Is there any > problem with multiplatform issues?
Yes, extremely tricky. It sometimes depends on the particular OS versions and even the type of installation and filesystems whether locking works. -- Holger Kruse [holger--rebol--com]