TaskConfig

Overview

Related Modules:

Samgr

Description:

Defines task configurations for a service.

This structure defines task configurations for a service, including the task priority, stack size, queue size, task type, and shared task ID.

Summary

Data Fields

Variable Name

Description

level

int16 

priority

int16 

stackSize

uint16 

queueSize

uint16 

taskFlags

uint8 

Details

Field Documentation

level

  1. int16 TaskConfig::level

Description:

ID of a multi-service sharing task. For details about the level definition, see SpecifyTag.

priority

  1. int16 TaskConfig::priority

Description:

Task priority. For details about the definition of priority, see TaskPriority.

queueSize

  1. uint16 TaskConfig::queueSize

Description:

Size of a task queue

stackSize

  1. uint16 TaskConfig::stackSize

Description:

Size of a task stack

taskFlags

  1. uint8 TaskConfig::taskFlags

Description:

Task type. For details about the taskFlags definition, see TaskType.