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:
parent
845c1e9329
commit
ac1a4ec0a3
2 changed files with 3 additions and 24 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue