Mutexes: BerkeleyDB Database Operations and Methods

Description Details Value Author(s) References

Description

Low-level calls to the BerkeleyDB API. These functions simply wrap most of the DB functionality and expose it at the R level.

Documentation on usage, valid arguments, and flags from the official Oracle C API should be all that is required to correctly use this API.

Mutexes Description
dbenv_mutex_alloc Allocate a mutex
dbenv_mutex_free Free a mutex
dbenv_mutex_lock Lock a mutex
dbenv_mutex_stat Mutex statistics
dbenv_mutex_unlock Unlock a mutex
Mutexes Configuration Description
dbenv_mutex_set_align* Configure mutex alignment
dbenv_mutex_set_increment* Configure number of additional mutexes
dbenv_mutex_set_max* Configure total number of mutexes
dbenv_mutex_set_tas_spins* Configure test-and-set mutex spin count

Details

The user should refer to the official API documentation for the Berkeley DB database available from Oracle.

Value

Varies by function call.

Author(s)

Jeffrey A. Ryan for the R API

References

Oracle Berkeley DB
http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/overview/index.html

Oracle Berkeley DB C API
http://docs.oracle.com/cd/E17076_04/html/gsg/C/index.html

Oracle Berkeley DB Reference Guide
http://docs.oracle.com/cd/E17076_04/html/index.html


RBerkeley documentation built on Jan. 15, 2017, 3:44 p.m.