组合类型 |
struct | st_wt_resource_type |
struct | st_wt_resource_id |
struct | st_wt_thd |
宏定义 |
#define | sizeof_WT_RESOURCE_ID (sizeof(ulonglong)+sizeof(void*)) |
#define | WT_WAIT_STATS 24 |
#define | WT_CYCLE_STATS 32 |
#define | WT_TIMEOUT ETIMEDOUT |
#define | WT_OK 0 |
#define | WT_DEADLOCK -1 |
#define | WT_DEPTH_EXCEEDED -2 |
#define | WT_FREE_TO_GO -3 |
#define | wt_thd_release_all(THD) wt_thd_release((THD), 0) |
类型定义 |
typedef typedefC_MODE_START
struct st_wt_resource_id | WT_RESOURCE_ID |
typedef struct st_wt_resource | WT_RESOURCE |
typedef struct st_wt_resource_type | WT_RESOURCE_TYPE |
typedef struct st_wt_thd | WT_THD |
函数 |
void | wt_init (void) |
void | wt_end (void) |
void | wt_thd_lazy_init (WT_THD *, const ulong *, const ulong *, const ulong *, const ulong *) |
void | wt_thd_destroy (WT_THD *) |
int | wt_thd_will_wait_for (WT_THD *, WT_THD *, const WT_RESOURCE_ID *) |
int | wt_thd_cond_timedwait (WT_THD *, pthread_mutex_t *) |
void | wt_thd_release (WT_THD *, const WT_RESOURCE_ID *) |
my_bool | wt_resource_id_memcmp (const void *, const void *) |
变量 |
ulonglong | wt_wait_table [WT_WAIT_STATS] |
uint32 | wt_wait_stats [WT_WAIT_STATS+1] |
uint32 | wt_cycle_stats [2][WT_CYCLE_STATS+1] |
uint32 | wt_success_stats |