typedef VOID*(* TSK_ENTRY_FUNC)(UINT32 uwArg)

Define the type of a task entrance function.

Description:
This API is used to define the type of a task entrance function and call it after a task is created and triggered.
注意:
None.
参数:
参数名称 描述
uwParam1  [IN] Type UINT32 The first parameter passed to the task handling function.
uwParam2  [IN] Type UINT32 The second parameter passed to the task handling function.
uwParam3  [IN] Type UINT32 The third parameter passed to the task handling function.
uwParam4  [IN] Type UINT32 The fourth parameter passed to the task handling function.
返回值:
返回值 描述
None. 
Dependency:
  • los_task.h: the header file that contains the API declaration.
参见:
自从:
Huawei LiteOS V100R001C00

在文件los_task.h409行定义。