deliver events with the core thread pool set events-use-dispatch=true in switch.conf.xml to use the old way

This commit is contained in:
Anthony Minessale
2013-09-05 03:42:35 +05:00
parent 670b496c48
commit 4158393f4e
5 changed files with 79 additions and 24 deletions
+1
View File
@@ -273,6 +273,7 @@ struct switch_runtime {
char *core_db_post_trans_execute;
char *core_db_inner_pre_trans_execute;
char *core_db_inner_post_trans_execute;
int events_use_dispatch;
};
extern struct switch_runtime runtime;
+1
View File
@@ -65,6 +65,7 @@ typedef struct switch_thread_data_s {
switch_thread_start_t func;
void *obj;
int alloc;
switch_memory_pool_t *pool;
} switch_thread_data_t;
typedef struct switch_hold_record_s {