mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
research st, expand MD_INIT_CONTEXT macro, the thread start.
This commit is contained in:
parent
8da8c49f39
commit
2c01f7e943
5 changed files with 73 additions and 44 deletions
|
@ -410,15 +410,6 @@ extern _st_eventsys_t *_st_eventsys;
|
|||
MD_LONGJMP((_thread)->context, 1); \
|
||||
ST_END_MACRO
|
||||
|
||||
/*
|
||||
* Initialize the thread context preparing it to execute _main
|
||||
*/
|
||||
#ifdef MD_INIT_CONTEXT
|
||||
#define _ST_INIT_CONTEXT MD_INIT_CONTEXT
|
||||
#else
|
||||
#error Unknown OS
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Number of bytes reserved under the stack "bottom"
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue