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

[REBOL] Re: Multiuser database

From: greggirwin::mindspring::com at: 20-Mar-2006 8:06

Sunanda et al, Sac> Gregg:
>> 1) Create a "lock" file when you access the database. The first thing >> you do is check for its existence, create it if not there, and >> delete it when you're done.
Sac> Though that gums things up if the task fails and does not delete the lock Sac> file -- all future tasks are blocked waiting for the lock file to be deleted by a Sac> dead process. Yup, thanks for making that clear, since I didn't go into too much detail in my post. What is that saying about "an exercise for the reader...". :) -- Gregg