Berkeley DB: DB_ENV->lock_put
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++

DB_ENV->lock_put |

`

    #include <db.h>

    int
    DB_ENV->lock_put(DB_ENV *env, DB_LOCK *lock);

Description: DB_ENV->lock_put

The DB_ENV->lock_put method releases lock.

The DB_ENV->lock_put method returns a non-zero error value on failure and 0 on success.

Parameters
lock

- The lock parameter is the lock to be released.

Errors

The DB_ENV->lock_put method may fail and return one of the following non-zero errors:

EINVAL

- An invalid flag value or parameter was specified.

Class DB_ENV, DB_LOCK
See Also Locking Subsystem and Related Methods`

Copyright (c) 1996,2008 Oracle. All rights reserved.