Nil RTOS
Public Attributes | List of all members
nil_system_t Struct Reference

System data structure. More...

#include <nil.h>

Collaboration diagram for nil_system_t:
Collaboration graph
[legend]

Public Attributes

thread_ref_t current
 Pointer to the running thread.
 
thread_t *const idlep
 Pointer to idle thread.
 
thread_ref_t next
 Pointer to the next thread to be executed. More...
 
systime_t systime
 System time.
 
thread_t *const threads
 Pointer to thread structures for all the defined threads.
 

Detailed Description

System data structure.

Note
This structure contain all the data areas used by the OS except stacks.

Member Data Documentation

thread_ref_t nil_system_t::next

Pointer to the next thread to be executed.

Note
This pointer must point at the same thread pointed by currp or to an higher priority thread if a switch is required.

The documentation for this struct was generated from the following file: