tdb_chainlock.3

来自「Linux下的一个关系数据库源代码」· 3 代码 · 共 32 行

3
32
字号
.TH tdb_chainlock "Oct 13, 2000" "Samba" "Linux Programmer's Manual".SH NAMEtdb_chainlock - lock a group of keystdb_chainunlock - unlock a previously locked group of keys.SH SYNOPSIS.nf.B #include <tdb.h>.sp.BI "int tdb_chainlock(TDB_CONTEXT *" tdb ", TDB_DATA " key ");".BI "void tdb_chainunlock(TDB_CONTEXT *" tdb ", TDB_DATA " key ");".sp.SH DESCRIPTION.I tdb_chainlock is a low-level function used to lock a particular key (and a number ofother keys) without any checking: any other process attempting toperform tdb operations on those keys will block until.I tdb_chainunlockis called..SH NOTESIt is the user's responsibility to ensure that they do not deadlockthe database using these functions: something which is impossibleusing the other access functions..SH "RETURN VALUE"A return value of 0 indicates success and -1 indicates failure..SH AUTHORSSoftware: Andrew Tridgell <tridge@linuxcare.com>Man page: Rusty..SH "SEE ALSO".BR gdbm (3),.BR tdb (3),.BR tdb_lockall (3).

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?