On Jul 31, 2007, at 10:39 AM, Ralf S. Engelschall wrote:
>
> We are using fcntl(2) locking for DB in RPM since over 5 years now and
> never encountered any problems. And we drive RPM on really lots of
> different platforms. So, I expect that fcntl(2) locking will not make
> any problems at all...
With or without DB_INIT_CDB, i.e. with concurrent write acces or not?
DB_INIT_CDB provides shared multiple readers <-> single exclusive writer
transparently. I.e. every bleeping application does not have to be
insturmented
with locking primitives.
But DB_INIT_CDB transparent locking is voided if one closes a dbenv.
73 de Jeff
Received on Tue Jul 31 16:59:04 2007