mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-24 12:14:13 +00:00
improve thread pool logic
This commit is contained in:
1 parent
25001e857f
commit
012e321f61
3 files changed
+67
-11
No files matched your search
@@ -290,10 +290,14 @@ struct switch_session_manager {
|
||||
switch_queue_t *thread_queue;
|
||||
switch_thread_t *manager_thread;
|
||||
switch_mutex_t *mutex;
|
||||
switch_thread_cond_t *cond;
|
||||
switch_mutex_t *cond_mutex;
|
||||
switch_mutex_t *cond2_mutex;
|
||||
int ready;
|
||||
int running;
|
||||
int busy;
|
||||
int popping;
|
||||
int starting;
|
||||
};
|
||||
|
||||
extern struct switch_session_manager session_manager;
|
||||
|
||||
Reference in new issue
Block a user