Library Version 11.2.5.2
int lock_mutex(db_mutex_t mtx)
Lock a mutex, wait if it is held by another thread.
The mutex handle to lock.
0 if succeed, non-zero otherwise, call db_strerror to get message.
These functions are in-process mutex support which uses Berkeley DB mutex mechanisms.
You can call these functions to do portable synchronization for your code.
dbstl_global_functions