[REBOL] Re: Multiuser database
From: compkarori::gmail at: 20-Mar-2006 23:38
Ahh .. yes, that has happened to me .. a lock file that sticks around :(
On 3/20/06, SunandaDH-aol.com <SunandaDH-aol.com> wrote:
>
> 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.
>
> Though that gums things up if the task fails and does not delete the lock
> file -- all future tasks are blocked waiting for the lock file to be
> deleted by a
> dead process.
>
--
Graham Chiu
http://www.compkarori.com/emr/