DbEnv::mutex_get_max()

#include <db_cxx.h>

int
DbEnv::mutex_get_max(u_int32_t *maxp); 

The DbEnv::mutex_get_max() method returns the total number of mutexes allocated. This method is deprecated.

The DbEnv::mutex_get_max() method may be called at any time during the life of the application.

The DbEnv::mutex_get_max() method either returns a non-zero error value or throws an exception that encapsulates a non-zero error value on failure, and returns 0 on success.

Parameters

maxp

The DbEnv::mutex_get_max() method returns the total number of mutexes allocated in maxp.

Class

DbEnv

See Also

Mutex Methods