• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# ffrt_function_header_t
2
3
4## 概述
5
6任务执行体。
7
8**起始版本:** 10
9
10**相关模块:** [FFRT](_f_f_r_t.md)
11
12**所在头文件:** [type_def.h](type__def_8h.md)
13
14## 汇总
15
16
17### 成员变量
18
19| 名称 | 描述 |
20| -------- | -------- |
21| [ffrt_function_t](_f_f_r_t.md#ffrt_function_t) [exec](#exec) | 任务执行函数。  |
22| [ffrt_function_t](_f_f_r_t.md#ffrt_function_t) [destroy](#destroy) | 任务销毁函数。  |
23| uint64_t [reserve](#reserve) [2] | 保留位需要设置为0。  |
24
25
26## 结构体成员变量说明
27
28
29### destroy
30
31```
32ffrt_function_t ffrt_function_header_t::destroy
33```
34**描述**
35任务销毁函数。
36
37
38### exec
39
40```
41ffrt_function_t ffrt_function_header_t::exec
42```
43**描述**
44任务执行函数。
45
46
47### reserve
48
49```
50uint64_t ffrt_function_header_t::reserve[2]
51```
52**描述**
53保留位需要设置为0。
54