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

Support thread pool and update ossrs.net. v5.0.33

This commit is contained in:
winlin 2022-06-29 20:38:29 +08:00
parent 57be5188c3
commit 0badae4797
3 changed files with 9 additions and 9 deletions

View file

@ -34,11 +34,11 @@ using namespace std;
#include <fcntl.h>
#ifdef SRS_OSX
pid_t gettid() {
return 0;
}
pid_t gettid() {
return 0;
}
#else
#if __GLIBC__ == 2 && __GLIBC_MINOR__ < 30
#if __GLIBC__ == 2 && __GLIBC_MINOR__ < 30
#include <sys/syscall.h>
#define gettid() syscall(SYS_gettid)
#endif

View file

@ -9,6 +9,6 @@
#define VERSION_MAJOR 5
#define VERSION_MINOR 0
#define VERSION_REVISION 32
#define VERSION_REVISION 33
#endif