ME507 Utility Library
0.2.1
Mechatronics Course Support Software for ARM/Arduino/FreeRTOS
|
Go to the documentation of this file.
41 #define CHECK_IF_IN_ISR() xPortInIsrContext()
42 #elif (defined STM32F4xx || defined STM32L4xx)
43 #define CHECK_IF_IN_ISR() xPortIsInsideInterrupt()
102 #endif // _BASESHARE_H_
friend void print_all_shares(Print &printer)
Start the printout showing the status of all shared data items.
Definition: baseshare.cpp:74
virtual void print_in_list(Print &printer)=0
Print one shared data item within a list.
char name[16]
The name of the shared item.
Definition: baseshare.h:61
BaseShare * p_next
Pointer to the next item in the linked list of shares.
Definition: baseshare.h:70
static BaseShare * p_newest
Pointer to the most recently created shared data item.
Definition: baseshare.h:78
BaseShare(const char *p_name=NULL)
Construct a base shared data item.
Definition: baseshare.cpp:46
void print_all_shares(Print &printer)
Start the printout showing the status of all shared data items.
Definition: baseshare.cpp:74
Base class for classes that share data in a thread-safe manner between tasks.
Definition: baseshare.h:54