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
zhengfl
2015-11-05 13:39:41 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
winlin
2015-11-05 13:52:59 +0800
Commit
1dae8fc987a7dc951e5d739b5c04b65448b655ff
1dae8fc9
1 parent
6d0adb9f
fix #511, fix the bug of thread stop invalid.
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
5 行增加
和
2 行删除
trunk/src/app/srs_app_edge.cpp
trunk/src/app/srs_app_thread.cpp
trunk/src/app/srs_app_edge.cpp
100644 → 100755
查看文件 @
1dae8fc
trunk/src/app/srs_app_thread.cpp
100644 → 100755
查看文件 @
1dae8fc
...
...
@@ -100,11 +100,12 @@ namespace internal {
return
ret
;
}
disposed
=
false
;
// we set to loop to true for thread to run.
loop
=
true
;
// wait for cid to ready, for parent thread to get the cid.
while
(
_cid
<
0
&&
loop
)
{
while
(
_cid
<
0
)
{
st_usleep
(
10
*
1000
);
}
...
...
@@ -124,7 +125,9 @@ namespace internal {
dispose
();
tid
=
NULL
;
_cid
=
-
1
;
can_run
=
false
;
tid
=
NULL
;
}
bool
SrsThread
::
can_loop
()
...
...
请
注册
或
登录
后发表评论