Berkeley DB: DB_ENV->mutex_unlock
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->mutex_unlock |

`

###

    #include <db.h>

    int
    DB_ENV->mutex_unlock(DB_ENV *dbenv, db_mutex_t mutex);

### Description: DB_ENV->mutex_unlock

The DB_ENV->mutex_unlock method unlocks the mutex locked by DB_ENV->mutex_lock.

The DB_ENV->mutex_unlock method may not be called before the DB_ENV->open method has been called.

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

### Parameters

mutex
  The mutex parameter is a mutex previously locked by DB_ENV->mutex_lock.

### Errors

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

EINVAL
  An invalid flag value or parameter was specified.

### Class

DB_ENV

### See Also

Database Environments and Related Methods`

Copyright (c) 1996-2005 Sleepycat Software, Inc. - All rights reserved.