Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-11-11 11:24:19 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f4dfee0e9f6e27c4b49532344380163a1b3e148b
f4dfee0e
1 parent
cd09fcaf
research st, add comments for bug #193.
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
3 行增加
和
1 行删除
trunk/research/st/event.c
trunk/research/st/srs.c
trunk/research/st/event.c
查看文件 @
f4dfee0
...
...
@@ -308,6 +308,8 @@ ST_HIDDEN void _st_epoll_dispatch(void)
timeout
=
(
int
)
(
min_timeout
/
1000
);
}
// TODO: WINLIN: remove it for bug introduced.
// @see: https://github.com/winlinvip/simple-rtmp-server/issues/193
if
(
_st_epoll_data
->
pid
!=
getpid
())
{
/* We probably forked, reinitialize epoll set */
close
(
_st_epoll_data
->
epfd
);
...
...
trunk/research/st/srs.c
查看文件 @
f4dfee0
...
...
@@ -52,8 +52,8 @@ int sleep_test()
srs_trace
(
"sleep test: start"
);
srs_trace
(
"1. sleep..."
);
st_usleep
(
sleep_ms
*
1000
);
srs_trace
(
"2. sleep ok"
);
srs_trace
(
"sleep test: end"
);
...
...
请
注册
或
登录
后发表评论