minor: fix some bugs

This commit is contained in:
Jiacheng Shi
2022-03-27 22:56:09 +08:00
parent 458a7c5d91
commit b0e6e4fe49
3 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ int pthread_create(pthread_t *thread, const pthread_attr_t *attr,
if (NULL == attr) {
task.prio = KTASK_PRIORITY_MAX / 2;
task.stack_size = 1024 ;
task.stack_size = 4096 ;
} else {
task.prio = attr->schedparam.sched_priority ;
task.stack_size = attr->stacksize ;