Argon RTOS  1.3.0
Tiny embedded real-time kernel
ar_runloop_t Struct Reference

#include <ar_kernel.h>

+ Inheritance diagram for ar_runloop_t:

Description

Run loop.

+ Collaboration diagram for ar_runloop_t:

Classes

struct  _ar_runloop_function_info
 

Public Attributes

volatile int32_t m_functionCount
 Number of functions in the queue.
 
volatile int32_t m_functionHead
 Function queue head.
 
struct _ar_runloop::_ar_runloop_function_info m_functions [AR_RUNLOOP_FUNCTION_QUEUE_SIZE]
 Function queue.
 
volatile int32_t m_functionTail
 Function queue tail.
 
bool m_isRunning
 Whether the runloop is currently running.
 
const char * m_name
 Name of the runloop.
 
ar_list_t m_queues
 Queues associated with the runloop.
 
volatile bool m_stop
 Flag to force the runloop to stop.
 
ar_thread_t * m_thread
 Thread the runloop is running on. NULL when the runloop is not running.
 
ar_list_t m_timers
 Timers associated with the runloop.
 

Class Documentation

◆ _ar_runloop::_ar_runloop_function_info

struct _ar_runloop::_ar_runloop_function_info
Class Members
ar_runloop_function_t function The callback function pointer.
void * param User parameter passed to the callback.