From: Useko Netsumi Date: 2004-01-06T23:56:47+09:00 Subject: Re: Simple Ruby DB apps/programs ... Thanks and please forgive my lack of knowledge of pstore. > pstore.rb uses File.flock to lock the pstore database. So, does this mean that it can ONLY serve one users for add/update record(s) in the DB and mutli-user for read/search? Is pstore is widely use? Thanks /useko "Matt Armstrong" wrote in message news:877k05io7n.fsf@naz.lickey.com... > Useko Netsumi writes: > > > Thanks Ara, I'll definitely will try your example above. And check > > out madeline as well. > > > > One question though, have you tried the pstore for multi-user or > > this is mainly for single user only? What happen if 2 or more user > > accessing the same db at the same time? Thanks > > pstore.rb uses File.flock to lock the pstore database. This works if > file.flock works (i.e. it will fail when the pstore database is stored > on NFS). > > > -- > matt > >