version 1.12, 2014/01/29 23:48:34
|
version 1.12.2.1, 2014/01/30 08:13:09
|
Line 56 struct tagCfg {
|
Line 56 struct tagCfg {
|
ait_val_t cfg_attr; |
ait_val_t cfg_attr; |
ait_val_t cfg_val; |
ait_val_t cfg_val; |
|
|
SLIST_ENTRY(tagCfg) cfg_next; | TAILQ_ENTRY(tagCfg) cfg_next; |
RB_ENTRY(tagCfg) cfg_node; |
RB_ENTRY(tagCfg) cfg_node; |
}; |
}; |
typedef struct tagRC { |
typedef struct tagRC { |
pthread_mutex_t rc_mtx; |
pthread_mutex_t rc_mtx; |
|
|
struct tagCfg *slh_first; | struct tagCfg *tqh_first; |
| struct tagCfg **tqh_last; |
struct tagCfg *rbh_root; |
struct tagCfg *rbh_root; |
} cfg_root_t; |
} cfg_root_t; |
#define CFG_RC_LOCK(x) pthread_mutex_lock(&(x)->rc_mtx) |
#define CFG_RC_LOCK(x) pthread_mutex_lock(&(x)->rc_mtx) |