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-10 14:56:23 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
a4a752e12518cec6282da8a559fefb0fa49da3a9
a4a752e1
2 parents
ccf1abbd
683b01a6
Merge branch 'srs.master'
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
6 行增加
和
3 行删除
trunk/research/st/srs.c
trunk/research/st/srs.c
查看文件 @
a4a752e
...
...
@@ -83,9 +83,6 @@ int thread_test()
st_thread_join
(
trd
,
NULL
);
srs_trace
(
"3. thread joined"
);
st_thread_exit
(
NULL
);
srs_trace
(
"4. all thread completed"
);
srs_trace
(
"thread test: end"
);
return
0
;
...
...
@@ -385,7 +382,13 @@ int main(int argc, char** argv)
}
// cleanup.
srs_trace
(
"wait for all thread completed"
);
st_thread_exit
(
NULL
);
// the following never enter,
// the above code will exit when all thread exit,
// current is a primordial st-thread, when all thread exit,
// the st idle thread will exit(0), see _st_idle_thread_start()
srs_trace
(
"all thread completed"
);
return
0
;
}
...
...
请
注册
或
登录
后发表评论