[Zope] - BoboPOS locking

Jim Fulton jim@Digicool.com
Tue, 08 Dec 1998 18:15:09 +0000


Grisha Trubetskoy wrote:
> 
> Pardon me if this is a naive question - I'm just trying to learn all
> this.
> 
> I understand Zope stores everything in a BoboPOS database.
> 
> What happens when more than one process attempts to open and modify the
> same database? 

On Unix, the second process dies with an IOError because it
can't get a file lock.  

> Is there any locking mechanism?

On Unix, Unix file locking is used.

Does anyone have any routines for locking windows
files?

Jim

--
Jim Fulton           mailto:jim@digicool.com
Technical Director   (540) 371-6909              Python Powered!
Digital Creations    http://www.digicool.com     http://www.python.org

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.