Chapter 10. Mutex Methods
Prev |  | Next

## Chapter 10. Mutex Methods

This chapter describes methods that can be used to manage mutexes within DB. Many of the methods described here are used to configure DB's internal mutex system. However, a series of APIs are available for use as a general-purpose, cross platform mutex management system. These methods can be used independently of DB's main purpose, which is as a high-end data management engine.

## Mutex Methods

Mutexes and Related Methods | 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_stat_print() | Print mutex statistics
DbEnv::mutex_unlock() | Unlock a mutex
Mutex Configuration
DbEnv::mutex_set_align(), DbEnv::mutex_get_align() | Configure mutex alignment
DbEnv::mutex_set_increment(), DbEnv::mutex_get_increment() | Configure number of additional mutexes
DbEnv::mutex_set_max(), DbEnv::mutex_get_max() | Configure total number of mutexes
DbEnv::mutex_set_tas_spins(), DbEnv::mutex_get_tas_spins() | Configure test-and-set mutex spin count

Prev |  | Next
DbMpoolFile::set_priority() | Home | DbEnv::mutex_alloc()