UINT32 LOS_NewTaskIDGet ( VOID   ) 

Obtain current new task ID.

Description:
This API is used to obtain the ID of new task.
注意:
None.
返回值:
返回值 描述
LOS_ERRNO_TSK_ID_INVALID  0x02000207: invalid Task ID.
  Task ID.
Dependency:
  • los_task.h: the header file that contains the API declaration.
参见:
自从:
Huawei LiteOS V100R001C00