head 1.2; access; symbols RPM_4_2_1:1.1.1.4 RPM_4_2:1.1.1.4 RPM_4_1_1:1.1.1.4 RPM_4_1:1.1.1.3 RPM_4_0_5:1.1.1.2 RPM_4_0_4:1.1.1.1 RPM:1.1.1; locks; strict; comment @# @; 1.2 date 2008.01.02.09.56.25; author rse; state dead; branches; next 1.1; commitid z4cpSiAhOCXk5PLs; 1.1 date 2002.01.08.00.30.13; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.01.08.00.30.13; author rse; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2003.01.18.13.49.04; author rse; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 2001.10.15.03.47.35; author rse; state Exp; branches; next 1.1.1.4; 1.1.1.4 date 2003.01.18.14.05.00; author rse; state Exp; branches; next ; desc @@ 1.2 log @remove the ancient RPM 4.2.1 source tree copy @ text @
|
![]() ![]() ![]() |
The C API for the Berkeley DB Locking subsystem was reworked in the 4.0 release as follows:
Historic functional interface | Berkeley DB 4.X method |
---|---|
lock_detect | DB_ENV->lock_detect |
lock_get | DB_ENV->lock_get |
lock_id | DB_ENV->lock_id |
lock_put | DB_ENV->lock_put |
lock_stat | DB_ENV->lock_stat |
lock_vec | DB_ENV->lock_vec |
Applications calling any of these functions should update their calls to use the enclosing DB_ENV handle's method (easily done as the first argument to the existing call is the correct handle to use).
In addition, the DB_ENV->lock_stat call has been changed in the 4.0 release to take a flags argument. To leave their historic behavior unchanged, applications should add a final argument of 0 to any calls made to DB_ENV->lock_stat.
The C++ and Java APIs for the DbLock::put (DbLock.put) method was reworked in the 4.0 release to make the lock put interface a method of the DB_ENV handle rather than the DbLock handle. Applications calling the DbLock::put or DbLock.put method should update their calls to use the enclosing DB_ENV handle's method (easily done as the first argument to the existing call is the correct handle to use).
![]() ![]() ![]() |
Copyright Sleepycat Software @ 1.1 log @Initial revision @ text @@ 1.1.1.1 log @Import: RPM 4.0.4 @ text @@ 1.1.1.2 log @Import: RPM 4.0.5 @ text @d2 1 a2 1 a3 1 d29 1 a29 1 to use the enclosing DB_ENV handle's method (easily done as the d37 1 a37 1 the DB_ENV handle rather than the DbLock handle. Applications d39 1 a39 1 to use the enclosing DB_ENV handle's method (easily done as the @ 1.1.1.3 log @Import: RPM 4.1 @ text @d2 1 a2 1 d4 1 d30 1 a30 1 to use the enclosing DB_ENV handle's method (easily done as the d38 1 a38 1 the DB_ENV handle rather than the DbLock handle. Applications d40 1 a40 1 to use the enclosing DB_ENV handle's method (easily done as the @ 1.1.1.4 log @Import: RPM 4.1.1 @ text @d2 1 a2 1 a3 1 d29 1 a29 1 to use the enclosing DB_ENV handle's method (easily done as the d37 1 a37 1 the DB_ENV handle rather than the DbLock handle. Applications d39 1 a39 1 to use the enclosing DB_ENV handle's method (easily done as the @