the join maybe failed, should use a variable to ensure thread terminated. 2.0.119.
正在显示
2 个修改的文件
包含
9 行增加
和
1 行删除
| 1 | #Simple-RTMP-Server | 1 | #Simple-RTMP-Server |
| 2 | 2 | ||
| 3 | +<<<<<<< HEAD | ||
| 3 | SRS/2.0,开发代号:[ZhouGuowen](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Product#release20) | 4 | SRS/2.0,开发代号:[ZhouGuowen](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Product#release20) |
| 5 | +======= | ||
| 6 | +SRS/1.0,开发代号:[HuKaiqun](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Product#release10) | ||
| 7 | +>>>>>>> 1.0release | ||
| 4 | 8 | ||
| 5 | SRS定位是运营级的互联网直播服务器集群,追求更好的概念完整性和最简单实现的代码。 | 9 | SRS定位是运营级的互联网直播服务器集群,追求更好的概念完整性和最简单实现的代码。 |
| 6 | 10 | ||
| @@ -527,6 +531,7 @@ Supported operating systems and hardware: | @@ -527,6 +531,7 @@ Supported operating systems and hardware: | ||
| 527 | 531 | ||
| 528 | ### SRS 2.0 history | 532 | ### SRS 2.0 history |
| 529 | 533 | ||
| 534 | +* v2.0, 2015-02-17, the join maybe failed, should use a variable to ensure thread terminated. 2.0.119. | ||
| 530 | * v2.0, 2015-02-15, for [#304](https://github.com/winlinvip/simple-rtmp-server/issues/304), support config default acodec/vcodec. 2.0.118. | 535 | * v2.0, 2015-02-15, for [#304](https://github.com/winlinvip/simple-rtmp-server/issues/304), support config default acodec/vcodec. 2.0.118. |
| 531 | * v2.0, 2015-02-15, for [#304](https://github.com/winlinvip/simple-rtmp-server/issues/304), rewrite hls/ts code, support h.264+mp3 for hls. 2.0.117. | 536 | * v2.0, 2015-02-15, for [#304](https://github.com/winlinvip/simple-rtmp-server/issues/304), rewrite hls/ts code, support h.264+mp3 for hls. 2.0.117. |
| 532 | * v2.0, 2015-02-12, for [#304](https://github.com/winlinvip/simple-rtmp-server/issues/304), use stringstream to generate m3u8, add hls_td_ratio. 2.0.116. | 537 | * v2.0, 2015-02-12, for [#304](https://github.com/winlinvip/simple-rtmp-server/issues/304), use stringstream to generate m3u8, add hls_td_ratio. 2.0.116. |
| @@ -604,6 +609,7 @@ Supported operating systems and hardware: | @@ -604,6 +609,7 @@ Supported operating systems and hardware: | ||
| 604 | 609 | ||
| 605 | ### SRS 1.0 history | 610 | ### SRS 1.0 history |
| 606 | 611 | ||
| 612 | +* v1.0, 2015-02-17, the join maybe failed, should use a variable to ensure thread terminated. 1.0.28. | ||
| 607 | * <strong>v1.0, 2015-02-12, [1.0r2 release(1.0.27)](https://github.com/winlinvip/simple-rtmp-server/releases/tag/1.0r2) released. 59507 lines.</strong> | 613 | * <strong>v1.0, 2015-02-12, [1.0r2 release(1.0.27)](https://github.com/winlinvip/simple-rtmp-server/releases/tag/1.0r2) released. 59507 lines.</strong> |
| 608 | * v1.0, 2015-02-11, dev code HuKaiqun for 1.0.27. | 614 | * v1.0, 2015-02-11, dev code HuKaiqun for 1.0.27. |
| 609 | * v1.0, 2015-02-10, for [#310](https://github.com/winlinvip/simple-rtmp-server/issues/310), the aac profile must be object plus one. 1.0.26 | 615 | * v1.0, 2015-02-10, for [#310](https://github.com/winlinvip/simple-rtmp-server/issues/310), the aac profile must be object plus one. 1.0.26 |
| @@ -121,7 +121,9 @@ void SrsThread::stop() | @@ -121,7 +121,9 @@ void SrsThread::stop() | ||
| 121 | st_thread_interrupt(tid); | 121 | st_thread_interrupt(tid); |
| 122 | 122 | ||
| 123 | // wait the thread to exit. | 123 | // wait the thread to exit. |
| 124 | - st_thread_join(tid, NULL); | 124 | + int ret = st_thread_join(tid, NULL); |
| 125 | + // TODO: FIXME: the join maybe failed, should use a variable to ensure thread terminated. | ||
| 126 | + srs_assert(ret == 0); | ||
| 125 | 127 | ||
| 126 | tid = NULL; | 128 | tid = NULL; |
| 127 | } | 129 | } |
-
请 注册 或 登录 后发表评论