locking bsddb objects

Antoon Pardon apardon at forel.vub.ac.be
Fri Nov 24 05:15:58 EST 2006


This is a little project using python 2.3.5, I want to use one of
the bsddb objects, but I also need to protect against concurrent
access and modification. IMO this would be something for
fcntl.flock or fcntl.lockf. However the bsddb objects don't provide
a fileno method.

So how do I protect against concurrent access and modification?

-- 
Antoon Pardon



More information about the Python-list mailing list