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

research st, always alloc on stack.

This commit is contained in:
winlin 2014-11-10 10:21:05 +08:00
parent 845c1e9329
commit ac1a4ec0a3
2 changed files with 3 additions and 24 deletions

View file

@ -557,7 +557,7 @@ _st_thread_t *st_thread_create(void *(*start)(void *arg), void *arg, int joinabl
}
stack->sp = sp - _ST_STACK_PAD_SIZE;
#else
#error Unknown OS
#error Unknown Stack Grown
#endif
memset(thread, 0, sizeof(_st_thread_t));