• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# ffrt_function_header_t
2
3
4## Overview
5
6The **ffrt_function_header_t** struct describes a task execution function.
7
8**Since**: 10
9
10Related module: [FFRT](_f_f_r_t.md)
11
12
13## Summary
14
15
16### Member Variables
17
18| Name| Description|
19| -------- | -------- |
20| [ffrt_function_t](_f_f_r_t.md#ffrt_function_t) [exec](#exec) | Function used to execute a task. |
21| [ffrt_function_t](_f_f_r_t.md#ffrt_function_t) [destroy](#destroy) | Function used to destroy a task. |
22| uint64_t [reserve](#reserve) [2] | Reserved bit, which must be set to **0**. |
23
24
25## Member Variable Description
26
27
28### destroy
29
30```
31ffrt_function_t ffrt_function_header_t::destroy
32```
33**Description**
34Function used to destroy a task.
35
36
37### exec
38
39```
40ffrt_function_t ffrt_function_header_t::exec
41```
42**Description**
43Function used to execute a task.
44
45
46### reserve
47
48```
49uint64_t ffrt_function_header_t::reserve[2]
50```
51**Description**
52Reserved bit, which must be set to **0**.
53