1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Main: Refine sever manager.

This commit is contained in:
winlin 2021-02-09 12:44:56 +08:00
parent f9bd84109b
commit 77cffd3e04
5 changed files with 35 additions and 18 deletions

View file

@ -151,6 +151,11 @@ srs_thread_t srs_thread_self()
return (srs_thread_t)st_thread_self();
}
void srs_thread_exit(void* retval)
{
st_thread_exit(retval);
}
srs_error_t srs_tcp_connect(string server, int port, srs_utime_t tm, srs_netfd_t* pstfd)
{
st_utime_t timeout = ST_UTIME_NO_TIMEOUT;