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

[REBOL] Re: Multiuser database

From: SunandaDH:aol at: 21-Mar-2006 10:32

Paavo:
> I have been quite happy with semaphores.
It'd be worth checking the source of the semaphore handler you are using. it could be doing something incredibly clever and will work safely on all REBOL platforms -- if so I'd like to know. Or it could be doing something that works safely on *your* operating system -- such as creating a lock file under an opsys that handles exclusive locks sensibly. Or maybe you've just been lucky so far. The sort of cases Pekr and I have been mentioning are probably not a problem for a lightly loaded system. You may never hit a problem even with a faulty locking mechanism. Pekr:
> what about checksum/secure? Should provide you enough of randomizer ....
random/secure 100'000'000'000 Gives you a highly probable GUID, especially if concatenated to the process start time, the time you request the GUID, and the IP address. Assuming random/secure is not generated from the process start time. Probably not good enough for safety critical work, but should work in most office critical systems. Of course, if REBOL had a semaphore system that worked cross-platform, it'd be so much simpler for all of us. Surely the Async changes must deliver such a toy? Sunanda.