Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
5d291398
提交
5d291398
authored
9月 09, 2013
作者:
Seven Du
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
FS-5769 --resolve
上级
8ceab4ce
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
7 行增加
和
6 行删除
+7
-6
switch_core.c
src/switch_core.c
+4
-4
switch_loadable_module.c
src/switch_loadable_module.c
+3
-2
没有找到文件。
src/switch_core.c
浏览文件 @
5d291398
...
...
@@ -28,7 +28,7 @@
* Paul D. Tinsley <pdt at jackhammer.org>
* Marcel Barbulescu <marcelbarbulescu@gmail.com>
* Joseph Sullivan <jossulli@amazon.com>
*
*
Seven Du <dujinfang@gmail.com>
*
* switch_core.c -- Main Core Library
*
...
...
@@ -1678,13 +1678,13 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(switch_core_flag_t flags, switc
}
switch_log_init
(
runtime
.
memory_pool
,
runtime
.
colorize_console
);
if
(
flags
&
SCF_MINIMAL
)
return
SWITCH_STATUS_SUCCESS
;
runtime
.
tipping_point
=
0
;
runtime
.
timer_affinity
=
-
1
;
runtime
.
microseconds_per_tick
=
20000
;
if
(
flags
&
SCF_MINIMAL
)
return
SWITCH_STATUS_SUCCESS
;
switch_load_core_config
(
"switch.conf"
);
switch_core_state_machine_init
(
runtime
.
memory_pool
);
...
...
@@ -1957,7 +1957,7 @@ static void switch_load_core_config(const char *file)
if
(
!
runtime
.
events_use_dispatch
)
{
runtime
.
events_use_dispatch
=
1
;
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_WARNING
,
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_WARNING
,
"Implicitly setting events-use-dispatch based on usage of this initial-event-threads parameter.
\n
"
);
}
...
...
src/switch_loadable_module.c
浏览文件 @
5d291398
...
...
@@ -24,7 +24,7 @@
* Contributor(s):
*
* Anthony Minessale II <anthm@freeswitch.org>
*
*
Seven Du <dujinfang@gmail.com>
*
* switch_loadable_module.c -- Loadable Modules
*
...
...
@@ -1732,10 +1732,11 @@ SWITCH_DECLARE(switch_status_t) switch_loadable_module_init(switch_bool_t autolo
switch_core_hash_init_nocase
(
&
loadable_modules
.
dialplan_hash
,
loadable_modules
.
pool
);
switch_mutex_init
(
&
loadable_modules
.
mutex
,
SWITCH_MUTEX_NESTED
,
loadable_modules
.
pool
);
if
(
!
autoload
)
return
SWITCH_STATUS_SUCCESS
;
switch_loadable_module_load_module
(
""
,
"CORE_SOFTTIMER_MODULE"
,
SWITCH_FALSE
,
&
err
);
switch_loadable_module_load_module
(
""
,
"CORE_PCM_MODULE"
,
SWITCH_FALSE
,
&
err
);
if
(
!
autoload
)
return
SWITCH_STATUS_SUCCESS
;
if
((
xml
=
switch_xml_open_cfg
(
cf
,
&
cfg
,
NULL
)))
{
switch_xml_t
mods
,
ld
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论