# service.h ## **Overview** **Related Modules:** [Samgr](Samgr.md) **Description:** Provides basic types and constants of services. This file is mainly used for service development. This file provides basic capabilities such as lifecycle functions of services, inherited macros, and task configuration. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Data Structures
Indicates the macro used to inherit the members from the service class. |
typedef enum TaskType |
|
typedef enum SpecifyTag |
|
typedef enum TaskPriority |
TaskType { SHARED_TASK = 0, SINGLE_TASK = 1, SPECIFIED_TASK = 2, NO_TASK = 0xFF } |
|
SpecifyTag { LEVEL_HIGH = 0, LEVEL_MIDDLE = 1, LEVEL_LOW = 2, LEVEL_CUSTOM_BEGIN } |
|
TaskPriority { PRI_LOW = 9, PRI_BELOW_NORMAL = 16, PRI_NORMAL = 24, PRI_ABOVE_NORMAL = 32, PRI_BUTT = 39 } |