cache session threads and reuse them if possible

This commit is contained in:
Anthony Minessale committed 2012-08-21 00:14:50 -05:00
1 parent b6f64dc1c2
commit 142c051d68
7 files changed
+176 -6

No files matched your search

+5
View File
@@ -283,6 +283,11 @@ struct switch_session_manager {
uint32_t session_count;
uint32_t session_limit;
switch_size_t session_id;
switch_queue_t *thread_queue;
switch_mutex_t *mutex;
int ready;
int running;
int busy;
};
extern struct switch_session_manager session_manager;