Locking
[C API]


Detailed Description

Database contructs like rows, tables, or the database itself can be manually locked to prevent concurrent access.


Functions

db_hlock_t db_lock (db_t, const db_oid_t *, db_flags_t lock_mode)
db_result_t db_unlock (db_t, const db_oid_t *, db_hlock_t)
db_hlock_t db_lock_table (db_t, const db_objname_t *, db_flags_t lock_mode)
db_result_t db_get_tableid (db_t, const db_objname_t *, db_oid_t *)


Copyright © 2005-2007 ITTIA®. All rights reserved.