lock_deadlock.c File Reference

#include "config.h"
#include <sys/types.h>
#include <errno.h>
#include <string.h>
#include "db_int.h"
#include "db_shash.h"
#include "lock.h"
#include "txn.h"

Go to the source code of this file.

Classes

struct  locker_info

Defines

#define BAD_KILLID   0xffffffff
#define CLEAR_MAP(M, N)
#define CLR_MAP(M, B)   ((M)[(B) / 32] &= ~(1 << ((B) % 32)))
#define DD_INVALID_ID   ((u_int32_t) -1)
#define INITIAL_DEAD_ALLOC   8
#define ISSET_MAP(M, N)   ((M)[(N) / 32] & (1 << (N) % 32))
#define OR_MAP(D, S, N)
#define SET_MAP(M, B)   ((M)[(B) / 32] |= (1 << ((B) % 32)))

Functions

static int __dd_abort (DB_ENV *dbenv, locker_info *info)
static int __dd_build (DB_ENV *dbenv, u_int32_t **bmp, u_int32_t *nlockers, locker_info **idmap)
static int __dd_find (DB_ENV *dbenv, u_int32_t *bmp, locker_info *idmap, u_int32_t nlockers, u_int32_t ***deadp)
static int __dd_find __P ((DB_ENV *, u_int32_t *, locker_info *, u_int32_t, u_int32_t ***))
static int __dd_build __P ((DB_ENV *, u_int32_t **, u_int32_t *, locker_info **))
static int __dd_abort __P ((DB_ENV *, locker_info *))
int CDB_lock_detect (DB_ENV *dbenv, u_int32_t flags, u_int32_t atype, int *abortp)

Variables

static const char revid [] = "$Id: lock__deadlock_8c.html,v 1.1 2008/06/08 10:19:57 sebdiaz Exp $"


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