mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 13:28:31 +00:00
cache session threads and reuse them if possible
This commit is contained in:
1 parent
b6f64dc1c2
commit
142c051d68
7 files changed
+176
-6
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user