1# ffrt_function_header_t 2 3<!--Kit: Function Flow Runtime Kit--> 4<!--Subsystem: Resourceschedule--> 5<!--Owner: @chuchihtung; @yanleo--> 6<!--Designer: @geoffrey_guo; @huangyouzhong--> 7<!--Tester: @lotsof; @sunxuhao--> 8<!--Adviser: @foryourself--> 9 10## Overview 11 12The **ffrt_function_header_t** struct describes a task execution function. 13 14**Since**: 10 15 16**Related module**: [FFRT](capi-ffrt.md) 17 18**Header file**: [type_def.h](capi-type-def-h.md) 19 20## Summary 21 22### Member Variables 23 24| Name| Description| 25| -- | -- | 26| [ffrt_function_t](capi-type-def-h.md#ffrt_function_t) exec | Function used to execute a task.| 27| [ffrt_function_t](capi-type-def-h.md#ffrt_function_t) destroy | Function used to destroy a task.| 28| uint64_t reserve[2] | Reserved bit, which must be set to **0**.| 29