diff --git a/kernel/include/los_task.h b/kernel/include/los_task.h index 427c5b8020b79e9e473d3cdf7ceaf9bb72784af3..8e5b8ef584c66959182beb8ad19bfcc9cfc17468 100644 --- a/kernel/include/los_task.h +++ b/kernel/include/los_task.h @@ -536,7 +536,7 @@ typedef struct tagTskInfo { *
  • If the size of the task stack of the task to be created is 0, configure #LOSCFG_BASE_CORE_TSK_DEFAULT_STACK_SIZE * to specify the default task stack size. The stack size should be a reasonable value, if the size is too large, may * cause memory exhaustion.
  • - *
  • The task stack size must be aligned on the boundary of 8 bytes. The size is determined by whether it is big + *
  • The task stack size must be aligned on the boundary of 16 bytes. The size is determined by whether it is big * enough to avoid task stack overflow.
  • *
  • Less parameter value indicates higher task priority.
  • *
  • The task name cannot be null.
  • @@ -582,7 +582,7 @@ extern UINT32 LOS_TaskCreateOnly(UINT32 *taskID, TSK_INIT_PARAM_S *initParam); *
  • The task name is a pointer and is not allocated memory.
  • *
  • If the size of the task stack of the task to be created is 0, configure #LOSCFG_BASE_CORE_TSK_DEFAULT_STACK_SIZE * to specify the default task stack size.
  • - *
  • The task stack size must be aligned on the boundary of 8 bytes. The size is determined by whether it is big + *
  • The task stack size must be aligned on the boundary of 16 bytes. The size is determined by whether it is big * enough to avoid task stack overflow.
  • *
  • Less parameter value indicates higher task priority.
  • *
  • The task name cannot be null.