UINT32 LOS_NextTaskIDGet ( VOID   ) 

Obtain next running task ID.

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