WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
dfx_task.c 文件参考
#include "dfx_task.h"
#include "securec.h"
#include "errcode.h"
#include "los_task.h"
dfx_task.c 的引用(Include)关系图:

函数

const CHAROsTskStatusConvertStr (UINT16 taskStatus)
 
uint32_t dfx_os_get_task_cnt (void)
 
errcode_t dfx_os_get_all_task_info (task_info_t *inf, uint32_t info_cnt)
 Obtains the task information.CNcomment:获取任务信息。CNend
 
errcode_t dfx_os_get_task_info (uint32_t taskid, task_info_t *info)
 
const char * dfx_os_task_status_convert_str (uint16_t task_status)
 

变量

unsigned int g_taskMaxNum
 

函数说明

◆ dfx_os_get_all_task_info()

errcode_t dfx_os_get_all_task_info ( task_info_t inf,
uint32_t  info_cnt 
)

Obtains the task information.CNcomment:获取任务信息。CNend

描述:
Obtains the task information.CNcomment:获取任务信息。CNend
注意
None
参数
taskid[IN] type #uint32_t,task ID. CNcomment:任务ID号。CNend
inf[OUT] type task_info_t* ,task information.For details about the task status, see the header file los_task_pri.h. CNcomment:任务信息。任务状态具体信息请参考头文件los_task_pri.h。CNend
返回值
ERRCODE_SUCCSuccess
#OtherFailure. For details, see errcode.h.
依赖:
  • soc_os_stat.h:Describes the task APIs.CNcomment:文件用于描述任务相关接口。CNend
参见
None

◆ dfx_os_get_task_cnt()

uint32_t dfx_os_get_task_cnt ( void  )

◆ dfx_os_get_task_info()

errcode_t dfx_os_get_task_info ( uint32_t  taskid,
task_info_t info 
)

◆ dfx_os_task_status_convert_str()

const char * dfx_os_task_status_convert_str ( uint16_t  task_status)

◆ OsTskStatusConvertStr()

const CHAR * OsTskStatusConvertStr ( UINT16  taskStatus)

变量说明

◆ g_taskMaxNum

unsigned int g_taskMaxNum
extern