mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for bug #200, deadloop when read/write 0 and ETIME. 2.0.16.
This commit is contained in:
parent
77cf885d8c
commit
0bc35e093c
6 changed files with 42 additions and 26 deletions
|
@ -101,7 +101,7 @@ int sleep2_test()
|
|||
st_thread_join(trd1, NULL);
|
||||
|
||||
srs_trace("sleep test: end");
|
||||
exit(0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -431,6 +431,8 @@ int pipe_test()
|
|||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
srs_trace("ETIME=%d", ETIME);
|
||||
|
||||
if (st_set_eventsys(ST_EVENTSYS_ALT) < 0) {
|
||||
srs_trace("st_set_eventsys failed");
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue