lock.h File Reference

#include "lock_ext.h"

Go to the source code of this file.

Classes

struct  __db_lock
struct  __db_locker
struct  __db_lockobj
struct  __db_lockregion
struct  __db_locktab
struct  __sh_dbt

Defines

#define CONFLICTS(T, R, HELD, WANTED)   (T)->conflicts[(HELD) * (R)->nmodes + (WANTED)]
#define DB_LOCK_DEFAULT_N   1000
#define DB_LOCK_DOALL   0x001
#define DB_LOCK_FREE   0x002
#define DB_LOCK_IGNOREDEL   0x004
#define DB_LOCK_MAXID   0x7fffffff
#define DB_LOCK_NOPROMOTE   0x008
#define DB_LOCK_UNLINK   0x010
#define DB_LOCKER_DELETED   0x0001
#define LOCK_INVALID   INVALID_ROFF
#define LOCKER_FREEABLE(lp)
#define LOCKER_LOOKUP(lt, ndx, locker, sh_locker)
#define LOCKREGION(dbenv, lt)   R_LOCK((dbenv), &(lt)->reginfo)
#define OBJ_LINKS_VALID(L)   ((L)->links.stqe_prev != -1)
#define OBJECT_LOCK(lt, reg, obj, ndx)   ndx = CDB___lock_ohash(obj) % (reg)->table_size
#define OBJECT_LOOKUP(lt, ndx, dbt, sh_obj)
#define OBJECT_UNLOCK(lt, ndx)
#define SH_DBT_PTR(p)   ((void *)(((u_int8_t *)(p)) + (p)->off))
#define SHOBJECT_LOCK(lt, reg, shobj, ndx)   ndx = CDB___lock_lhash(shobj) % (reg)->table_size
#define UNLOCKREGION(dbenv, lt)   R_UNLOCK((dbenv), &(lt)->reginfo)

Typedefs

typedef struct __db_locker DB_LOCKER
typedef struct __db_lockobj DB_LOCKOBJ
typedef struct __db_lockregion DB_LOCKREGION
typedef struct __db_locktab DB_LOCKTAB
typedef struct __sh_dbt SH_DBT


Generated on Sun Jun 8 10:56:52 2008 for GNUmifluz by  doxygen 1.5.5