thread: fix stack overflow while running fecux on native
* this overwrites the sigmask of saved context, which blocks subsequent SIGUSR2 to make yield() not work
This commit is contained in:
parent
54b9182024
commit
8d36c3333c
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,7 @@ rt_thread_t rt_thread_create(const char *name,
|
|||
return RT_NULL;
|
||||
|
||||
#ifdef __ISA_NATIVE__
|
||||
const rt_uint32_t stack_size_min = 0x4000;
|
||||
const rt_uint32_t stack_size_min = 0x8000;
|
||||
if (stack_size < stack_size_min) stack_size = stack_size_min;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue