Example application that demonstrates multiple primitives used with two FuriEventLoop instances. More...
Data Structures | |
struct | EventLoopMultiAppWorker |
struct | EventLoopMultiApp |
Functions | |
int32_t | example_event_loop_multi_app (void *arg) |
Example application that demonstrates multiple primitives used with two FuriEventLoop instances.
This application simulates a complex use case of having two concurrent event loops (each one executing in its own thread) using a stream buffer for communication and additional timers and message passing to handle the keypad input. Additionally, it shows how to use thread signals to stop an event loop in another thread. The GUI functionality is there only for the purpose of exclusive access to the input events.
The application's functionality consists of the following: