libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
Loading...
Searching...
No Matches
gimbal_main_loop.h File Reference

Go to the source code of this file.

Data Structures

struct  GblMainLoopClass
 
struct  GblMainLoop
 

Enumerations

enum  GBL_PRIORITY_LEVEL
 

Functions

GblType GblMainLoop_type (void)
 
GBL_RESULT GblMainLoop_enqueue (GblMainLoop *pSelf, GblTask *pTask)
 
GBL_RESULT GblMainLoop_cancel (GblMainLoop *pSelf, GblTask *pTask)
 
GblTaskGblMainLoop_top (const GblMainLoop *pSelf)
 
size_t GblMainLoop_depth (const GblMainLoop *pSelf)
 
GBL_RESULT GblMainLoop_iteration (GblMainLoop *pSelf)
 
GBL_RESULT GblMainLoop_exec (GblMainLoop *pSelf)
 
GBL_RESULT GblMainLoop_stop (GblMainLoop *pSelf)
 
GblBool GblMainLoop_isRunning (const GblMainLoop *pSelf)
 

Detailed Description

GblMainLoop task scheduler priority queue.

Todo:
  • implement me
Author
2023 Falco Girgis

Definition in file gimbal_main_loop.h.

Enumeration Type Documentation

◆ GBL_PRIORITY_LEVEL

Enumeration for.

Definition at line 26 of file gimbal_main_loop.h.

26 {
27 GBL_PRIORITY_IDLE,
28 GBL_PRIORITY_HIGH_IDLE,
29 GBL_PRIORITY_LOW,
30 GBL_PRIORITY_DEFAULT,
31 GBL_PRIORITY_HIGH,
32 GBL_PRIORITY_COUNT
GBL_PRIORITY_LEVEL
Enumeration for.