|
XFusion API v1.3.0
|
#include "xf_task_utils_config.h"#include "xf_task_pool.h"#include "../kernel/xf_task_base.h"#include "../task/xf_task_default.h"#include "../task/xf_ttask.h"
结构体 | |
| struct | _xf_task_pool_handle_t |
| struct | _xf_pool_task_t |
宏定义 | |
| #define | TAG "task_pool" |
类型定义 | |
| typedef struct _xf_task_pool_handle_t | xf_task_pool_handle_t |
| typedef struct _xf_pool_task_t | xf_pool_task_t |
函数 | |
| static void | xf_task_pool_default_task (xf_task_t task) |
| static void | xf_task_delete_ (xf_task_t task) |
| xf_task_pool_t | xf_task_pool_create_with_manager (uint32_t max_works, xf_task_manager_t manager, xf_task_type_t type, void *config) |
| 创建一个任务池。 | |
| xf_err_t | xf_task_pool_delete (xf_task_pool_t pool) |
| 删除任务池。 | |
| xf_task_t | xf_task_init_from_pool (xf_task_pool_t pool, xf_task_func_t func, void *func_arg, uint16_t priority) |
| 初始化任务。 | |
| #define TAG "task_pool" |
在文件 xf_task_pool.c 第 25 行定义.
| typedef struct _xf_task_pool_handle_t xf_task_pool_handle_t |
| typedef struct _xf_pool_task_t xf_pool_task_t |
|
static |
在文件 xf_task_pool.c 第 132 行定义.
|
static |
在文件 xf_task_pool.c 第 137 行定义.