1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
============================================================================
Name : hev-task-system.h
Author : Heiher <r@hev.cc>
Copyright : Copyright (c) 2021 - 2024 everyone.
Description :
============================================================================
*/
#ifndef __HEV_TASK_SYSTEM_H__
#define __HEV_TASK_SYSTEM_H__
#ifdef __cplusplus
extern "C" {
#endif
#define HEV_TASK_SYSTEM_MAJOR_VERSION (5)
#define HEV_TASK_SYSTEM_MINOR_VERSION (8)
#define HEV_TASK_SYSTEM_MICRO_VERSION (1)
/**
* hev_task_system_init:
*
* Initialize the task system.
*
* Returns: When successful, returns zero. When an error occurs, returns -1.
*
* Since: 1.0
*/
int hev_task_system_init (void);
/**
* hev_task_system_fini:
*
* Finalize the task system.
*
* Since: 1.0
*/
void hev_task_system_fini (void);
/**
* hev_task_system_run:
*
* Run the task system.
*
* Since: 1.0
*/
void hev_task_system_run (void);
#ifdef __cplusplus
}
#endif
#endif /* __HEV_TASK_SYSTEM_H__ */