version 1.2.2.1, 2012/01/27 16:19:04
|
version 1.2.2.3, 2012/04/11 15:08:26
|
Line 14 struct tagStore {
|
Line 14 struct tagStore {
|
struct tagSession { |
struct tagSession { |
/* client session thread id */ |
/* client session thread id */ |
pthread_t sess_tid; |
pthread_t sess_tid; |
|
pthread_mutex_t sess_mtx; |
/* server dispatcher */ |
/* server dispatcher */ |
mqtt_srv_t *sess_srv; |
mqtt_srv_t *sess_srv; |
|
|
Line 51 typedef TAILQ_HEAD(, tagSession) sessions_t;
|
Line 52 typedef TAILQ_HEAD(, tagSession) sessions_t;
|
|
|
extern sessions_t Sessions; |
extern sessions_t Sessions; |
extern sched_root_task_t *root; |
extern sched_root_task_t *root; |
extern sl_config cfg; | extern cfg_root_t cfg; |
extern pthread_mutex_t mtx_sess, mtx_pub; |
extern pthread_mutex_t mtx_sess, mtx_pub; |
|
|
|
|