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

For #913, APP support complex error.

This commit is contained in:
winlin 2018-01-01 19:39:57 +08:00
parent aebbbadf42
commit 6eae93258a
47 changed files with 1098 additions and 1432 deletions

View file

@ -76,7 +76,7 @@ extern std::string srs_path_build_timestamp(std::string template_path);
* @param pid the pid to kill. ignore for -1. set to -1 when killed.
* @return an int error code.
*/
extern int srs_kill_forced(int& pid);
extern srs_error_t srs_kill_forced(int& pid);
// current process resouce usage.
// @see: man getrusage