Query: tdb_chainlock
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
TDB_CHAINLOCK(3) Linux Programmer's Manual TDB_CHAINLOCK(3)NAMEtdb_chainlock - lock a group of keys tdb_chainunlock - unlock a previously locked group of keysSYNOPSIS#include <tdb.h> int tdb_chainlock(TDB_CONTEXT *tdb, TDB_DATA key); void tdb_chainunlock(TDB_CONTEXT *tdb, TDB_DATA key);DESCRIPTIONtdb_chainlock is a low-level function used to lock a particular key (and a number of other keys) without any checking: any other process attempting to perform tdb operations on those keys will block until tdb_chainunlock is called.NOTESIt is the user's responsibility to ensure that they do not deadlock the database using these functions: something which is impossible using the other access functions.RETURN VALUEA return value of 0 indicates success and -1 indicates failure.AUTHORSSoftware: Andrew Tridgell <tridge@linuxcare.com> Man page: Rusty.SEE ALSOgdbm(3), tdb(3), tdb_lockall(3). Samba Oct 13, 2000 TDB_CHAINLOCK(3)
Related Man Pages |
---|
tdbbackup(8) - centos |
tdb_firstkey(3) - debian |
tdb_traverse(3) - debian |
tdbbackup(8) - debian |
tdb_open(3) - centos |
Similar Topics in the Unix Linux Community |
---|
Cannot login using WINBIND in AIX 5.3 |