mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-02 01:25:11 +00:00
add nitrous oxide tank to core event sql backend
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1260 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
a70b4a15a6
commit
d59cae60c7
8 files changed
+139
-36
No files matched your search
@@ -220,6 +220,7 @@ static void handle_thread_launch(ldl_handle_t *handle)
|
||||
|
||||
switch_threadattr_create(&thd_attr, module_pool);
|
||||
switch_threadattr_detach_set(thd_attr, 1);
|
||||
switch_threadattr_stacksize_set(thd_attr, SWITCH_THREAD_STACKSIZE);
|
||||
switch_thread_create(&thread, thd_attr, handle_thread_run, handle, module_pool);
|
||||
|
||||
}
|
||||
|
||||
@@ -1276,6 +1276,7 @@ static void pri_thread_launch(struct sangoma_pri *spri)
|
||||
|
||||
switch_threadattr_create(&thd_attr, module_pool);
|
||||
switch_threadattr_detach_set(thd_attr, 1);
|
||||
switch_threadattr_stacksize_set(thd_attr, SWITCH_THREAD_STACKSIZE);
|
||||
switch_thread_create(&thread, thd_attr, pri_thread_run, spri, module_pool);
|
||||
|
||||
}
|
||||
|
||||
@@ -2139,6 +2139,7 @@ static void js_thread_launch(char *text)
|
||||
|
||||
switch_threadattr_create(&thd_attr, module_pool);
|
||||
switch_threadattr_detach_set(thd_attr, 1);
|
||||
switch_threadattr_stacksize_set(thd_attr, SWITCH_THREAD_STACKSIZE);
|
||||
switch_thread_create(&thread, thd_attr, js_thread_run, strdup(text), module_pool);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user